Skip to content

Commit

Permalink
GC map files too (Bug #14285).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Apr 8, 2016
1 parent b020615 commit b58b7b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/Core/lib/Horde/Script/Cache/File.php
Expand Up @@ -64,6 +64,7 @@ public function gc()
foreach (glob($static_dir . '/*.js') as $file) {
if ($curr_time > filemtime($file)) {
@unlink($file);
@unlink($file . '.map');
++$removed;
}
}
Expand Down

0 comments on commit b58b7b5

Please sign in to comment.