diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-18 15:40:43 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-18 15:40:48 +0200 |
commit | 2f00384b5124ec0b3f3703d73a11a129aff93a62 (patch) | |
tree | c444180780c193eb27e87b648609ad47f23d5a21 /lib/minimizer.php | |
parent | 3000e8f9d508088abe7bb9c2cbc8f3490fa36c9a (diff) | |
download | nextcloud-server-2f00384b5124ec0b3f3703d73a11a129aff93a62.tar.gz nextcloud-server-2f00384b5124ec0b3f3703d73a11a129aff93a62.zip |
Use TemplateLayout functions for finding js and css files in minimizer
Diffstat (limited to 'lib/minimizer.php')
-rw-r--r-- | lib/minimizer.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/minimizer.php b/lib/minimizer.php index 428fa477f77..e17c114f065 100644 --- a/lib/minimizer.php +++ b/lib/minimizer.php @@ -1,17 +1,6 @@ <?php -abstract class OC_Minimizer -{ - protected $files = array(); - - protected function appendIfExist($root, $webroot, $file) { - if (is_file($root.'/'.$file)) { - $this->files[] = array($root, $webroot, $file); - return true; - } - return false; - } - +abstract class OC_Minimizer { public function getLastModified($files) { $last_modified = 0; foreach($files as $file_info) { |