mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Useless return.
This commit is contained in:
parent
38e25d70fa
commit
74c84c7759
5 changed files with 0 additions and 12 deletions
|
@ -41,8 +41,6 @@ function generate_user_info(&$row, $date_format, $group_mod, &$from, &$posts, &$
|
|||
} else {
|
||||
$www = '';
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$user->session_start(array('req_login' => true));
|
||||
|
|
|
@ -64,7 +64,6 @@ class Xcache extends Common
|
|||
|
||||
xcache_clear_cache(XC_TYPE_PHP, 0);
|
||||
xcache_clear_cache(XC_TYPE_VAR, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
public function is_installed()
|
||||
|
|
|
@ -46,21 +46,17 @@ function run_jobs($jobs)
|
|||
END
|
||||
WHERE cron_id IN ($jobs)
|
||||
");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function delete_jobs($jobs)
|
||||
{
|
||||
OLD_DB()->query('DELETE FROM ' . BB_CRON . " WHERE cron_id IN ($jobs)");
|
||||
return;
|
||||
}
|
||||
|
||||
function toggle_active($jobs, $cron_action)
|
||||
{
|
||||
$active = ($cron_action == 'disable') ? 0 : 1;
|
||||
OLD_DB()->query('UPDATE ' . BB_CRON . " SET cron_active = $active WHERE cron_id IN ($jobs)");
|
||||
return;
|
||||
}
|
||||
|
||||
function validate_cron_post($cron_arr)
|
||||
|
|
|
@ -41,7 +41,6 @@ function update_table_bool($table_name, $key, $field_name, $field_def_val)
|
|||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
function set_tpl_vars($default_cfg, $cfg)
|
||||
|
|
|
@ -160,8 +160,6 @@ function delete_torrent($attach_id, $mode = '')
|
|||
torrent_auth_check($forum_id, $poster_id);
|
||||
tracker_unregister($attach_id);
|
||||
delete_attachment(0, $attach_id);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function change_tor_status($attach_id, $new_tor_status)
|
||||
|
@ -360,8 +358,6 @@ function tracker_register($attach_id, $mode = '', $tor_status = TOR_NOT_APPROVED
|
|||
$mess = sprintf(trans('messages.BT_REGISTERED'), DOWNLOAD_URL . $attach_id);
|
||||
bb_die($mess);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function send_torrent_with_passkey($filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue