summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/settings/personal.php b/settings/personal.php
index e6d2d44db76..aea997aff22 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -6,10 +6,7 @@
*/
require_once('../lib/base.php');
-if( !OC_User::isLoggedIn()){
- header( "Location: ".OC_Helper::linkTo( "", "index.php" ));
- exit();
-}
+OC_Util::checkLoggedIn();
// Highlight navigation entry
OC_Util::addScript( "settings", "personal" );