Remove unused RUNTIME_NOSETUPFS var

remotes/origin/stable45
Bart Visscher 13 years ago
parent 05648dac61
commit 7522a23693
  1. 7
      apps/bookmarks/ajax/addBookmark.php
  2. 5
      apps/bookmarks/ajax/delBookmark.php
  3. 5
      apps/bookmarks/ajax/editBookmark.php
  4. 5
      apps/bookmarks/ajax/recordClick.php
  5. 5
      apps/bookmarks/ajax/updateList.php
  6. 2
      apps/files_sharing/get.php
  7. 3
      apps/media/ajax/autoupdate.php
  8. 4
      apps/remoteStorage/ajax/revokeToken.php
  9. 3
      apps/remoteStorage/auth.php
  10. 2
      files/webdav.php
  11. 3
      lib/base.php
  12. 1
      public.php
  13. 1
      remote.php

@ -21,11 +21,6 @@
*
*/
//no apps or filesystem
$RUNTIME_NOSETUPFS=true;
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
@ -34,4 +29,4 @@ OCP\JSON::checkAppEnabled('bookmarks');
require_once(OC_App::getAppPath('bookmarks').'/bookmarksHelper.php');
$id = addBookmark($_POST['url'], $_POST['title'], $_POST['tags']);
OCP\JSON::success(array('data' => $id));
OCP\JSON::success(array('data' => $id));

@ -21,11 +21,6 @@
*
*/
//no apps or filesystem
$RUNTIME_NOSETUPFS=true;
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();

@ -21,11 +21,6 @@
*
*/
//no apps or filesystem
$RUNTIME_NOSETUPFS=true;
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();

@ -21,11 +21,6 @@
*
*/
//no apps or filesystem
$RUNTIME_NOSETUPFS=true;
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('bookmarks');

@ -22,11 +22,6 @@
*
*/
//no apps or filesystem
$RUNTIME_NOSETUPFS=true;
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('bookmarks');

@ -1,6 +1,4 @@
<?php
$RUNTIME_NOSETUPFS=true; //don't setup the fs yet
// only need authentication apps
$RUNTIME_APPTYPES=array('authentication');
OC_App::loadApps($RUNTIME_APPTYPES);

@ -23,9 +23,8 @@
header('Content-type: text/html; charset=UTF-8') ;
//no apps or filesystem
//no apps
$RUNTIME_NOAPPS=true;
$RUNTIME_NOSETUPFS=true;
OCP\JSON::checkAppEnabled('media');

@ -25,10 +25,6 @@
*
*/
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
OCP\App::checkAppEnabled('remoteStorage');
require_once('remoteStorage/lib_remoteStorage.php');

@ -27,9 +27,6 @@
header("X-Frame-Options: Sameorigin");
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
OCP\App::checkAppEnabled('remoteStorage');
require_once('Sabre/autoload.php');
require_once('lib_remoteStorage.php');

@ -23,8 +23,6 @@
*
*/
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
require_once('../lib/base.php');

@ -401,9 +401,6 @@ class OC{
}
// define runtime variables - unless this already has been done
if( !isset( $RUNTIME_NOSETUPFS )){
$RUNTIME_NOSETUPFS = false;
}
if( !isset( $RUNTIME_NOAPPS )){
$RUNTIME_NOAPPS = false;
}

@ -1,5 +1,4 @@
<?php
$RUNTIME_NOSETUPFS = true;
$RUNTIME_NOAPPS = TRUE;
require_once('lib/base.php');
$file = OCP\CONFIG::getAppValue('core', 'public_' . strip_tags($_GET['service']));

@ -1,5 +1,4 @@
<?php
$RUNTIME_NOSETUPFS = true;
$RUNTIME_NOAPPS = TRUE;
require_once('lib/base.php');
$path_info = OC_Request::getPathInfo();

Loading…
Cancel
Save