From afc6e4bd108525104b61a46f9973f8f8358c6dd2 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 13 Jul 2009 15:28:26 -0400 Subject: [PATCH] Added hook when killing a session --- program/include/rcmail.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 2363715..a4f44b8 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -797,6 +797,8 @@ */ public function kill_session() { + $this->plugins->exec_hook('kill_session'); + rcube_sess_unset(); $_SESSION = array('language' => $this->user->language, 'auth_time' => time(), 'temp' => true); rcmail::setcookie('sessauth', '-del-', time() - 60); -- Gitblit v1.9.1