Remove useless setting of RUNTIME_NOAPPS

remotes/origin/stable45
Bart Visscher 14 years ago
parent 7522a23693
commit 10cfcd4ff0
  1. 6
      apps/files/ajax/mimeicon.php
  2. 4
      apps/media/ajax/autoupdate.php

@ -1,9 +1,3 @@
<?php
// no need for apps
$RUNTIME_NOAPPS=false;
// Init owncloud
print OC_Helper::mimetypeIcon($_GET['mime']);

@ -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');

Loading…
Cancel
Save