diff options
Diffstat (limited to 'apps/files_sharing/list.php')
-rw-r--r-- | apps/files_sharing/list.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php index 0a11f438eb7..a5f99f38041 100644 --- a/apps/files_sharing/list.php +++ b/apps/files_sharing/list.php @@ -23,10 +23,7 @@ require_once('../../lib/base.php'); require_once('lib_share.php'); -if (!OC_User::isLoggedIn()){ - header( "Location: ".OC_HELPER::linkTo( "index.php" )); - exit(); -} +OC_Util::checkLoggedIn(); OC_App::setActiveNavigationEntry("files_sharing_list"); @@ -36,4 +33,4 @@ $tmpl = new OC_Template("files_sharing", "list", "user"); $tmpl->assign("shared_items", OC_Share::getMySharedItems()); $tmpl->printPage(); -?>
\ No newline at end of file +?> |