diff options
Diffstat (limited to 'plugins/example_addressbook')
| -rw-r--r-- | plugins/example_addressbook/example_addressbook.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/example_addressbook/example_addressbook.php b/plugins/example_addressbook/example_addressbook.php index 42272c86e..c50f8d8ce 100644 --- a/plugins/example_addressbook/example_addressbook.php +++ b/plugins/example_addressbook/example_addressbook.php @@ -12,8 +12,8 @@ class example_addressbook extends rcube_plugin public function init() { - $this->add_hook('address_sources', array($this, 'address_sources')); - $this->add_hook('get_address_book', array($this, 'get_address_book')); + $this->add_hook('addressbooks_list', array($this, 'address_sources')); + $this->add_hook('addressbook_get', array($this, 'get_address_book')); // use this address book for autocompletion queries // (maybe this should be configurable by the user?) |
