Clearing compiled cache files should be part of clearing Cache

Fixes #1501
This commit is contained in:
Samuel Georges 2015-10-09 05:31:50 +11:00
parent 3531793ca3
commit 4b50f1cdb7
1 changed files with 3 additions and 1 deletions

View File

@ -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());
}
}