mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
New cron initialization and minor edits (#619)
* New cron initialization and minor edits Updated the mechanism to check if cron needs to run and made minor improvements to the first run * Adding a warning in the control panel
This commit is contained in:
parent
dd853151c0
commit
e4b6a91909
11 changed files with 37 additions and 11 deletions
|
@ -834,7 +834,10 @@ function show_bt_userdata($user_id)
|
|||
{
|
||||
global $lang, $template;
|
||||
|
||||
$btu = get_bt_userdata($user_id);
|
||||
if (!$btu = get_bt_userdata($user_id)) {
|
||||
\TorrentPier\Legacy\Torrent::generate_passkey($user_id, true);
|
||||
$btu = get_bt_userdata($user_id);
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'SHOW_BT_USERDATA' => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue