summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-20 13:10:56 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-20 13:10:56 +0100
commitbf22ed7bdbb4289253a85fe423b99d4f96a57fba (patch)
tree4bc6e5795a107557b938db22944e026c76ceff58 /lib/base.php
parent3ce77a35e5eeb22b580e243e50a2daeba761d7fc (diff)
downloadnextcloud-server-bf22ed7bdbb4289253a85fe423b99d4f96a57fba.tar.gz
nextcloud-server-bf22ed7bdbb4289253a85fe423b99d4f96a57fba.zip
kill old minimizer code
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php26
1 files changed, 4 insertions, 22 deletions
diff --git a/lib/base.php b/lib/base.php
index a5f064bdb4b..b39a96f331f 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -284,10 +284,10 @@ class OC {
if (self::needUpgrade()) {
if ($showTemplate && !OC_Config::getValue('maintenance', false)) {
OC_Config::setValue('theme', '');
- $minimizerCSS = new OC_Minimizer_CSS();
- $minimizerCSS->clearCache();
- $minimizerJS = new OC_Minimizer_JS();
- $minimizerJS->clearCache();
+// $minimizerCSS = new OC_Minimizer_CSS();
+// $minimizerCSS->clearCache();
+// $minimizerJS = new OC_Minimizer_JS();
+// $minimizerJS->clearCache();
OC_Util::addScript('config'); // needed for web root
OC_Util::addScript('update');
$tmpl = new OC_Template('', 'update.admin', 'guest');
@@ -724,11 +724,6 @@ class OC {
$app = OC::$REQUESTEDAPP;
$file = OC::$REQUESTEDFILE;
$param = array('app' => $app, 'file' => $file);
- // Handle app css files
- if (substr($file, -3) == 'css') {
- self::loadCSSFile($param);
- return;
- }
// Handle redirect URL for logged in users
if (isset($_REQUEST['redirect_url']) && OC_User::isLoggedIn()) {
@@ -795,19 +790,6 @@ class OC {
return false;
}
- public static function loadCSSFile($param) {
- $app = $param['app'];
- $file = $param['file'];
- $app_path = OC_App::getAppPath($app);
- if (file_exists($app_path . '/' . $file)) {
- $app_web_path = OC_App::getAppWebPath($app);
- $filepath = $app_web_path . '/' . $file;
- $minimizer = new OC_Minimizer_CSS();
- $info = array($app_path, $app_web_path, $file);
- $minimizer->output(array($info), $filepath);
- }
- }
-
protected static function handleLogin() {
OC_App::loadApps(array('prelogin'));
$error = array();