mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
CS fix
This commit is contained in:
@@ -21,7 +21,7 @@ Utility::clearScreen();
|
||||
//reset collections dateadded to now if dateadded > delay time check
|
||||
$colorCli->header('Resetting collections that have expired to this moment. This could take some time if many collections need to be reset');
|
||||
|
||||
DB::transaction(function() use ($delaytimet){
|
||||
DB::transaction(function () use ($delaytimet) {
|
||||
Collection::query()->where('dateadded', '<', now()->subHours($delaytimet))->update(['dateadded' => now()]);
|
||||
}, 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user