summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-20 13:23:24 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-20 13:23:24 +0100
commitac8e6b15b64d5ad3b07b1fc3f845a4a67e49eaea (patch)
treef63f1ccc9b08a2f01ffa3d01a3414908545c93e6
parentbf22ed7bdbb4289253a85fe423b99d4f96a57fba (diff)
downloadnextcloud-server-ac8e6b15b64d5ad3b07b1fc3f845a4a67e49eaea.tar.gz
nextcloud-server-ac8e6b15b64d5ad3b07b1fc3f845a4a67e49eaea.zip
kill references to core.js and core.css
-rw-r--r--core/minimizer.php15
-rw-r--r--lib/private/setup.php2
2 files changed, 0 insertions, 17 deletions
diff --git a/core/minimizer.php b/core/minimizer.php
deleted file mode 100644
index eeeddf86a81..00000000000
--- a/core/minimizer.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-session_write_close();
-
-OC_App::loadApps();
-
-if ($service == 'core.css') {
- $minimizer = new OC_Minimizer_CSS();
- $files = OC_TemplateLayout::findStylesheetFiles(OC_Util::$coreStyles);
- $minimizer->output($files, $service);
-}
-else if ($service == 'core.js') {
- $minimizer = new OC_Minimizer_JS();
- $files = OC_TemplateLayout::findJavascriptFiles(OC_Util::$coreScripts);
- $minimizer->output($files, $service);
-}
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 17ef75bc7b5..7bf75be0165 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -97,8 +97,6 @@ class OC_Setup {
$appConfig = \OC::$server->getAppConfig();
$appConfig->setValue('core', 'installedat', microtime(true));
$appConfig->setValue('core', 'lastupdatedat', microtime(true));
- $appConfig->setValue('core', 'remote_core.css', '/core/minimizer.php');
- $appConfig->setValue('core', 'remote_core.js', '/core/minimizer.php');
OC_Group::createGroup('admin');
OC_Group::addToGroup($username, 'admin');