summaryrefslogtreecommitdiffstats
path: root/settings/help.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/help.php')
-rw-r--r--settings/help.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/settings/help.php b/settings/help.php
index f8a2f9b8bf9..48fcec32782 100644
--- a/settings/help.php
+++ b/settings/help.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();
// Load the files we need