From 39279350eb397296a3ac5e8ba795609f7a31fddf Mon Sep 17 00:00:00 2001 From: Jakob Sack Date: Wed, 2 Mar 2011 23:58:46 +0100 Subject: [PATCH] Forgot to change some calls of linkTo --- admin/index.php | 2 +- admin/plugins.php | 2 +- admin/system.php | 2 +- admin/users.php | 2 +- log/index.php | 2 +- settings/index.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/index.php b/admin/index.php index 6e79f43ddf6..cfcb70d056b 100644 --- a/admin/index.php +++ b/admin/index.php @@ -24,7 +24,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ - header( "Location: ".OC_UTIL::linkto( "index.php" )); + header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } diff --git a/admin/plugins.php b/admin/plugins.php index b281115e124..d281f897ecb 100644 --- a/admin/plugins.php +++ b/admin/plugins.php @@ -24,7 +24,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ - header( "Location: ".OC_UTIL::linkto( "index.php" )); + header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } diff --git a/admin/system.php b/admin/system.php index 6e79f43ddf6..cfcb70d056b 100644 --- a/admin/system.php +++ b/admin/system.php @@ -24,7 +24,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ - header( "Location: ".OC_UTIL::linkto( "index.php" )); + header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } diff --git a/admin/users.php b/admin/users.php index e3a9ab1418a..d4eebb44178 100644 --- a/admin/users.php +++ b/admin/users.php @@ -24,7 +24,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin' )){ - header( "Location: ".OC_UTIL::linkto( "index.php" )); + header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } diff --git a/log/index.php b/log/index.php index 3cdf3d7c649..e0f48d168cd 100644 --- a/log/index.php +++ b/log/index.php @@ -26,7 +26,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn()){ - header( "Location: ".OC_UTIL::linkto( "index.php" )); + header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } diff --git a/settings/index.php b/settings/index.php index 6d37180fcd1..9791e287306 100644 --- a/settings/index.php +++ b/settings/index.php @@ -3,7 +3,7 @@ require_once('../lib/base.php'); oc_require( 'template.php' ); if( !OC_USER::isLoggedIn()){ - header( "Location: ".OC_UTIL::linkto( "index.php" )); + header( "Location: ".OC_HELPER::linkTo( "index.php" )); exit(); } -- 2.39.5