aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-08 17:17:37 +0200
committerBart Visscher <bartv@thisnet.nl>2012-08-08 22:42:50 +0200
commit10cfcd4ff0e7cbe186df80cb9a9aa83a94aac882 (patch)
tree53b1749854db1bbcabb3845e235822699320ff26
parent7522a23693b11a4c277a475cdb3204a1d9ac5912 (diff)
downloadnextcloud-server-10cfcd4ff0e7cbe186df80cb9a9aa83a94aac882.tar.gz
nextcloud-server-10cfcd4ff0e7cbe186df80cb9a9aa83a94aac882.zip
Remove useless setting of RUNTIME_NOAPPS
-rw-r--r--apps/files/ajax/mimeicon.php6
-rw-r--r--apps/media/ajax/autoupdate.php4
2 files changed, 0 insertions, 10 deletions
diff --git a/apps/files/ajax/mimeicon.php b/apps/files/ajax/mimeicon.php
index 80d50f84528..dbb8b60112a 100644
--- a/apps/files/ajax/mimeicon.php
+++ b/apps/files/ajax/mimeicon.php
@@ -1,9 +1,3 @@
<?php
-// no need for apps
-$RUNTIME_NOAPPS=false;
-
-// Init owncloud
-
-
print OC_Helper::mimetypeIcon($_GET['mime']);
diff --git a/apps/media/ajax/autoupdate.php b/apps/media/ajax/autoupdate.php
index 7329e91e210..a5801f1a0e0 100644
--- a/apps/media/ajax/autoupdate.php
+++ b/apps/media/ajax/autoupdate.php
@@ -23,10 +23,6 @@
header('Content-type: text/html; charset=UTF-8') ;
-//no apps
-$RUNTIME_NOAPPS=true;
-
-
OCP\JSON::checkAppEnabled('media');
$autoUpdate=(isset($_GET['autoupdate']) and $_GET['autoupdate']=='true');