Skip to content

Commit

Permalink
clear cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Dec 18, 2018
1 parent dcfa5a6 commit f398673
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/Utilities/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use File;
use Module;
use ZipArchive;
use Artisan;
use GuzzleHttp\Exception\RequestException;

class Updater
Expand All @@ -18,10 +19,7 @@ class Updater

public static function clear()
{
Cache::forget('modules');
Cache::forget('updates');
Cache::forget('versions');
Cache::forget('suggestions');
Artisan::call('cache:clear');

return true;
}
Expand Down

0 comments on commit f398673

Please sign in to comment.