diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-02-03 12:41:21 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-02-03 15:21:51 +0100 |
commit | b87e5a0f2e158d7aad91ba8e58b246e3666f6cbf (patch) | |
tree | d3c06a29ae403ad2fc042c848931f32af77b8b16 /lib/private/Template/JSCombiner.php | |
parent | 5460166ff5440e9750870470afbd861c65b2b41e (diff) | |
download | nextcloud-server-b87e5a0f2e158d7aad91ba8e58b246e3666f6cbf.tar.gz nextcloud-server-b87e5a0f2e158d7aad91ba8e58b246e3666f6cbf.zip |
Move depsCache clearing to SCSSCacher/JSCombiner
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Template/JSCombiner.php')
-rw-r--r-- | lib/private/Template/JSCombiner.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Template/JSCombiner.php b/lib/private/Template/JSCombiner.php index b95a59834a6..c5adcee6854 100644 --- a/lib/private/Template/JSCombiner.php +++ b/lib/private/Template/JSCombiner.php @@ -236,10 +236,8 @@ class JSCombiner { * @throws NotFoundException */ public function resetCache() { + $this->depsCache->clear(); $appDirectory = $this->appData->getDirectoryListing(); - if(empty($appDirectory)){ - return; - } foreach ($appDirectory as $folder) { foreach ($folder->getDirectoryListing() as $file) { $file->delete(); |