From 4ab9a2563b916f05cbdd5d6bf84a627be37e3bed Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 28 Dec 2011 13:07:17 +0100 Subject: [PATCH] Fix #123 : Databox injected rights are removed everytime you logout. --- lib/classes/Session/Handler.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/classes/Session/Handler.class.php b/lib/classes/Session/Handler.class.php index 2834457b1e..901accc362 100644 --- a/lib/classes/Session/Handler.class.php +++ b/lib/classes/Session/Handler.class.php @@ -88,8 +88,7 @@ class Session_Handler if (!$this->is_authenticated()) return; - $user = User_Adapter::getInstance($this->get_usr_id(), $this->appbox); - $user->ACL()->delete_injected_rights(); + $this->storage()->reset(); $this->close_phrasea_session();