Clearing compiled cache files should be part of clearing Cache
Fixes #1501
This commit is contained in:
parent
3531793ca3
commit
4b50f1cdb7
|
|
@ -1,5 +1,6 @@
|
|||
<?php namespace System\Helpers;
|
||||
|
||||
use App;
|
||||
use File;
|
||||
use Config;
|
||||
|
||||
|
|
@ -31,7 +32,6 @@ class Cache
|
|||
foreach (File::directories(storage_path().'/cms/combiner') as $directory) {
|
||||
File::deleteDirectory($directory);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -60,5 +60,7 @@ class Cache
|
|||
public function clearMeta()
|
||||
{
|
||||
File::delete(storage_path().'/cms/disabled.json');
|
||||
File::delete(App::getCachedCompilePath());
|
||||
File::delete(App::getCachedServicesPath());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue