summaryrefslogtreecommitdiff
path: root/plugins/archive/archive.php
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/archive/archive.php
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/archive/archive.php')
-rw-r--r--plugins/archive/archive.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php
index 6a0723a0a..bd18aa4ed 100644
--- a/plugins/archive/archive.php
+++ b/plugins/archive/archive.php
@@ -53,8 +53,8 @@ class archive extends rcube_plugin
else if ($rcmail->task == 'settings') {
$dont_override = $rcmail->config->get('dont_override', array());
if (!in_array('archive_mbox', $dont_override)) {
- $this->add_hook('user_preferences', array($this, 'prefs_table'));
- $this->add_hook('save_preferences', array($this, 'save_prefs'));
+ $this->add_hook('preferences_list', array($this, 'prefs_table'));
+ $this->add_hook('preferences_save', array($this, 'save_prefs'));
}
}
}