External: Use OC_Util::checkLoggedIn

remotes/origin/stable4
Bart Visscher 13 years ago
parent 777804fac2
commit a37bd93222
  1. 7
      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'])){

Loading…
Cancel
Save