delet event 10min after startime
This commit is contained in:
1 parent
60df43f241
commit
3671902fe7
2 files changed
+1
-11
No files matched your search
@@ -29,16 +29,6 @@ class Fixtures
|
||||
$total_soccer = 0;
|
||||
$total_others = 0;
|
||||
|
||||
/**
|
||||
* Delete
|
||||
*/
|
||||
// $info = 0;
|
||||
$info = Event::where('starttime', '<', Carbon::now()->toDateTimeString())->delete();
|
||||
|
||||
if ($debug) {
|
||||
Notice::note("Deleted: $info");
|
||||
}
|
||||
|
||||
$sports = Sport::where('is_active', 1)->pluck('id')->toArray();
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user