summaryrefslogtreecommitdiff
path: root/plugins/example_addressbook
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-07-30 06:34:16 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-07-30 06:34:16 +0000
commitb0d8a8e9f535da27f8ec09df164fea3cf1a96480 (patch)
tree770bd522ff025f8d49b3131dcbb4e35f31254bb0 /plugins/example_addressbook
parent009b6c1c0c9d62d338c57e53fd3a25f3cd22a50b (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@3841 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/example_addressbook')
-rw-r--r--plugins/example_addressbook/example_addressbook.php4
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?)