summaryrefslogtreecommitdiff
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
parent75fd64f17f30e7184f32170290b335189b713f32 (diff)
Added hook when killing a session
-rw-r--r--CHANGELOG2
-rw-r--r--program/include/rcmail.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index f74d24663..dbcde2695 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,8 @@
CHANGELOG RoundCube Webmail
===========================
+- Added hook when killing a session
+- Added hook to write_log function (#1485971)
- Performance improvements by use UID commands (#1485690)
- Fix HTML editor tabIndex setting (#1485972)
- Added 'imap_debug' option
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);