Patches applied:
* opensource@polytechnique.org--2005/platal--release--0.9.3--patch-4
fix deco bug (XdX v2)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-152
$_SESSION['log']->log('deconnexion',$ref);
}
-session_destroy();
-$_SESSION = array();
+XorgSession::destroy();
if(isset($_COOKIE['ORGaccess']) && isset($_COOKIE['ORGuid'])) {
header('Location: login.php');
}
}
// }}}
+ // {{{ function destroy()
+
+ function destroy() {
+ @session_destroy();
+ unset($_SESSION);
+ XorgSession::init();
+ }
+
+ // }}}
// {{{ function doAuth()
/** Try to do an authentication.