remove require once lib base in some more files

This commit is contained in:
Georg Ehrke 2012-04-18 17:42:11 +02:00
parent 45de7ad221
commit b44bc9f4b2
15 changed files with 14 additions and 18 deletions

View file

@ -23,7 +23,7 @@
// Init owncloud
require_once('../lib/base.php');
OC_Util::checkAdminUser();

View file

@ -22,7 +22,7 @@
*/
// Init owncloud
require_once('../lib/base.php');
// Check if we are a user
OC_Util::checkLoggedIn();

View file

@ -21,10 +21,6 @@
*
*/
// Init owncloud
require_once('../lib/base.php');
// Check if we are a user
OC_Util::checkLoggedIn();

View file

@ -23,7 +23,7 @@
// Init owncloud
require_once('../lib/base.php');
// Check if we are a user
OC_Util::checkLoggedIn();

View file

@ -29,7 +29,7 @@ $RUNTIME_NOSETUPFS = true;
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem','authentication');
require_once('../lib/base.php');
// Backends
$authBackend = new OC_Connector_Sabre_Auth();

View file

@ -21,7 +21,7 @@
*
*/
require_once('../lib/base.php');
$url='http://'.substr($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],0,-17).'ocs/v1.php/';

View file

@ -21,7 +21,7 @@
*
*/
require_once('../lib/base.php');
@ob_clean();
OC_OCS::handle();

View file

@ -23,7 +23,7 @@
// Init owncloud
require_once('../lib/base.php');
// Check if we are a user
OC_Util::checkLoggedIn();

View file

@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
require_once('../lib/base.php');
OC_Util::checkAdminUser();
OC_Util::addStyle( "settings", "settings" );

View file

@ -21,7 +21,7 @@
*
*/
require_once('../lib/base.php');
OC_Util::checkAdminUser();
// Load the files we need

View file

@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
require_once('../lib/base.php');
OC_Util::checkLoggedIn();

View file

@ -20,7 +20,7 @@
*
*/
require_once('../lib/base.php');
OC_Util::checkAdminUser();
// Load the files we need

View file

@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
require_once('../lib/base.php');
OC_Util::checkLoggedIn();
// Highlight navigation entry

View file

@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
require_once('../lib/base.php');
OC_Util::checkLoggedIn();
OC_Util::addStyle( 'settings', 'settings' );

View file

@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
require_once('../lib/base.php');
OC_Util::checkAdminUser();
// We have some javascript foo!