diff options
author | alecpl <alec@alec.pl> | 2010-02-13 17:33:25 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-02-13 17:33:25 +0000 |
commit | 48bc52e835bd5485f7443d54399e4fb0d36732d7 (patch) | |
tree | 52a6be2f0aa273a9d0ea24c0b38c969147161671 /program/include/rcube_plugin_api.php | |
parent | 9194996a28b6c8a45905e48ed937cc8e2aa5b92e (diff) |
- Fix imap_init hook broken in r3258 (#1486493)
Diffstat (limited to 'program/include/rcube_plugin_api.php')
-rw-r--r-- | program/include/rcube_plugin_api.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php index b19c0a3f4..c895578b9 100644 --- a/program/include/rcube_plugin_api.php +++ b/program/include/rcube_plugin_api.php @@ -150,15 +150,6 @@ class rcube_plugin_api $this->register_hook('template_container', array($this, 'template_container_hook')); // maybe also register a shudown function which triggers shutdown functions of all plugin objects - - - // call imap_init right now - // (should actually be done in rcmail::imap_init() but plugins are not initialized then) - if ($rcmail->imap) { - $hook = $this->exec_hook('imap_init', array('fetch_headers' => $rcmail->imap->fetch_add_headers)); - if ($hook['fetch_headers']) - $rcmail->imap->fetch_add_headers = $hook['fetch_headers']; - } } |