diff options
Diffstat (limited to 'apps/external')
-rw-r--r-- | apps/external/index.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/external/index.php b/apps/external/index.php index 86b19abc10e..51cdc344bbf 100644 --- a/apps/external/index.php +++ b/apps/external/index.php @@ -23,12 +23,7 @@ require_once('../../lib/base.php'); -// Check if we are a user -if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( '', 'index.php' )); - exit(); -} - +OC_Util::checkLoggedIn(); if(isset($_GET['id'])){ |