mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-21 18:37:31 +08:00
support plugin nexusphp-hit-and-run
This commit is contained in:
@@ -1092,7 +1092,8 @@ class TrackerRepository extends BaseRepository
|
||||
if ($user->isDonating()) {
|
||||
return;
|
||||
}
|
||||
$hrMode = Setting::get('hr.mode');
|
||||
// $hrMode = Setting::get('hr.mode');
|
||||
$hrMode = HitAndRun::getConfig('mode', $torrent->basic_category->mode);
|
||||
if ($hrMode == HitAndRun::MODE_DISABLED) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user