mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-14 15:39:37 -06:00
Add AutoResetUserFlushes return type and comment
This commit is contained in:
@@ -35,11 +35,13 @@ class AutoResetUserFlushes extends Command
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return int
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
// Updates own_flushes for each user
|
||||
User::where('own_flushes', '<', '2')->update(['own_flushes' => '2']);
|
||||
|
||||
$this->comment('Automated Reset User Flushes Command Complete');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user