Remove unused RUNTIME_NOSETUPFS var
This commit is contained in:
parent
05648dac61
commit
7522a23693
|
@ -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…
Reference in New Issue