summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-13 19:28:26 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-13 19:28:26 +0000
commit56856d979857feca025d2e5278d94eba4cba0959 (patch)
tree9400ec6a196ba891aa279cda4c15b935d1543d97
parent27659651501466cd5e2100f94b105287dfca9958 (diff)
Added hook when killing a session
git-svn-id: https://svn.roundcube.net/trunk@2747 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/CHANGELOG2
-rw-r--r--roundcubemail/program/include/rcmail.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index f74d24663..dbcde2695 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/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/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php
index 23637157f..a4f44b8f4 100644
--- a/roundcubemail/program/include/rcmail.php
+++ b/roundcubemail/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);