Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 5 | protected function schedule(Schedule $schedule) |
|
26 | { |
||
27 | // Prune the activity log for entries older than 30 days. |
||
28 | 5 | $schedule->command('activitylog:clean')->daily(); |
|
29 | // Prune the sensordata table for entries older than 365 days. |
||
30 | 5 | $schedule->command('sensordata:clean')->daily(); |
|
31 | 5 | } |
|
43 |