starttime delete events
This commit is contained in:
1 parent
fcad6af570
commit
575330ea17
4 files changed
+11
-12
No files matched your search
@@ -24,7 +24,7 @@ class Fixtures
|
||||
/**
|
||||
* Delete Started
|
||||
*/
|
||||
$info = Mapper::where('starttime', '<', Carbon::now()->subHours(24))->delete();
|
||||
$info = Mapper::where('starttime', '<', Carbon::now()->subHours(2))->delete();
|
||||
|
||||
if ($debug) {
|
||||
Notice::note("Deleted: $info");
|
||||
|
||||
@@ -45,11 +45,10 @@ class Odds
|
||||
/**
|
||||
* Delete
|
||||
*/
|
||||
$info = Event::where('starttime', '<', Carbon::now()->subMinutes(10))->delete();
|
||||
|
||||
if ($debug) {
|
||||
Notice::note("Deleted: $info");
|
||||
}
|
||||
// $info = Event::where('starttime', '<', Carbon::now()->subMinutes(10))->delete();
|
||||
// if ($debug) {
|
||||
// Notice::note("Deleted: $info");
|
||||
// }
|
||||
|
||||
switch (Nuh::$options['sport_id']) {
|
||||
case 1:
|
||||
|
||||
Reference in new issue
Block a user