diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-07-30 06:34:02 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-07-30 06:34:02 +0000 |
| commit | 009b6c1c0c9d62d338c57e53fd3a25f3cd22a50b (patch) | |
| tree | e43662f9bc267a6c9bfe656d748eafefdfce9a80 /roundcubemail/program/include/rcmail.php | |
| parent | 800068fe5247352bcb1b3c086af78af40eb992af (diff) | |
- Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings)
git-svn-id: https://svn.roundcube.net/trunk@3840 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 3fa2fa2cc..5ca25df80 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -255,7 +255,7 @@ class rcmail $ldap_config = (array)$this->config->get('ldap_public'); $abook_type = strtolower($this->config->get('address_book_type')); - $plugin = $this->plugins->exec_hook('get_address_book', array('id' => $id, 'writeable' => $writeable)); + $plugin = $this->plugins->exec_hook('addressbook_get', array('id' => $id, 'writeable' => $writeable)); // plugin returned instance of a rcube_addressbook if ($plugin['instance'] instanceof rcube_addressbook) { @@ -321,7 +321,7 @@ class rcmail ); } - $plugin = $this->plugins->exec_hook('address_sources', array('sources' => $list)); + $plugin = $this->plugins->exec_hook('addressbooks_list', array('sources' => $list)); $list = $plugin['sources']; if ($writeable && !empty($list)) { @@ -928,7 +928,7 @@ class rcmail */ public function kill_session() { - $this->plugins->exec_hook('kill_session'); + $this->plugins->exec_hook('session_destroy'); $this->session->remove(); $_SESSION = array('language' => $this->user->language, 'auth_time' => time(), 'temp' => true); |
