summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/index.php2
-rw-r--r--admin/plugins.php2
-rw-r--r--admin/system.php2
-rw-r--r--admin/users.php2
-rw-r--r--log/index.php2
-rw-r--r--settings/index.php2
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();
}