mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-05 04:15:23 +01:00
@@ -4,6 +4,7 @@ namespace App\Helpers;
|
||||
|
||||
use App\Events\TestNotificationEvent;
|
||||
use App\Setting;
|
||||
use Cache;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class SettingsHelper {
|
||||
@@ -53,6 +54,10 @@ class SettingsHelper {
|
||||
]);
|
||||
}
|
||||
|
||||
if($name == 'show_failed_tests_on_graph') {
|
||||
Cache::flush();
|
||||
}
|
||||
|
||||
return $setting;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user