mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
judge H&R count think about section
This commit is contained in:
@@ -44,8 +44,8 @@ class HitAndRunUpdateStatus extends Command
|
||||
$rep = new HitAndRunRepository();
|
||||
$result = $rep->cronjobUpdateStatus($uid, $torrentId, $ignoreTime);
|
||||
$log = sprintf(
|
||||
'[%s], %s, uid: %s, torrentId: %s, result: %s',
|
||||
nexus()->getRequestId(), __METHOD__, $uid, $torrentId, var_export($result, true)
|
||||
'[%s], %s, uid: %s, torrentId: %s, ignoreTime: %s, result: %s',
|
||||
nexus()->getRequestId(), __METHOD__, $uid, $torrentId, $ignoreTime, var_export($result, true)
|
||||
);
|
||||
$this->info($log);
|
||||
do_log($log);
|
||||
|
||||
@@ -89,8 +89,10 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$r = strstr('hr.*', '.', true);
|
||||
dd($r);
|
||||
$rep = new \NexusPlugin\HitAndRun\HitAndRunRepository();
|
||||
$rep->initSectionHitAndRunSetting(SearchBox::SECTION_BROWSE . "_");
|
||||
$rep->initSectionHitAndRunSetting(SearchBox::SECTION_SPECIAL . "_");
|
||||
clear_setting_cache();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user