diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-14 00:13:04 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-14 00:13:04 +0100 |
commit | a37bd932223f6fbcad9be8a2129a09502f4bd762 (patch) | |
tree | 7dcdb05bcbabe52bf073b3c8ce170c76795a7b2d /apps/external | |
parent | 777804fac231f031ccbaed49590400dca91fab6b (diff) | |
download | nextcloud-server-a37bd932223f6fbcad9be8a2129a09502f4bd762.tar.gz nextcloud-server-a37bd932223f6fbcad9be8a2129a09502f4bd762.zip |
External: Use OC_Util::checkLoggedIn
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'])){ |