userdetails page show bonus table

This commit is contained in:
xiaomlove
2022-10-13 18:52:10 +08:00
parent 749afd6c5a
commit b435e49581
16 changed files with 185 additions and 70 deletions

View File

@@ -20,6 +20,7 @@ use App\Models\Tag;
use App\Models\Torrent;
use App\Models\TorrentOperationLog;
use App\Models\User;
use App\Models\UserBanLog;
use App\Repositories\AgentAllowRepository;
use App\Repositories\AttendanceRepository;
use App\Repositories\ExamRepository;
@@ -89,10 +90,7 @@ class Test extends Command
*/
public function handle()
{
$rep = new \NexusPlugin\HitAndRun\HitAndRunRepository();
$rep->initSectionHitAndRunSetting(SearchBox::SECTION_BROWSE . "_");
$rep->initSectionHitAndRunSetting(SearchBox::SECTION_SPECIAL . "_");
clear_setting_cache();
UserBanLog::clearUserBanLogDuplicate();
}