diff options
Diffstat (limited to 'admin/system.php')
-rw-r--r-- | admin/system.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/system.php b/admin/system.php index 9286ab9c2b3..11a76132b4c 100644 --- a/admin/system.php +++ b/admin/system.php @@ -22,14 +22,14 @@ */ require_once('../lib/base.php'); -if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( OC_USER::getUser(), 'admin' )){ - header( "Location: ".OC_HELPER::linkTo( "index.php" )); +if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ + header( "Location: ".OC_Helper::linkTo( "index.php" )); exit(); } -OC_APP::setActiveNavigationEntry( "administration" ); +OC_App::setActiveNavigationEntry( "administration" ); -$tmpl = new OC_TEMPLATE( "admin", "system", "admin" ); +$tmpl = new OC_Template( "admin", "system", "admin" ); $tmpl->printPage(); ?> |