summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-13 19:28:26 +0000
committerthomascube <thomas@roundcube.net>2009-07-13 19:28:26 +0000
commitafc6e4bd108525104b61a46f9973f8f8358c6dd2 (patch)
tree2ea8d16642bd1ff2d2b81aeff1e2b6fcebd27ff8 /program/include
parent75fd64f17f30e7184f32170290b335189b713f32 (diff)
Added hook when killing a session
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 23637157f..a4f44b8f4 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -797,6 +797,8 @@ class rcmail
*/
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);