diff options
Diffstat (limited to 'plugins/archive')
| -rw-r--r-- | plugins/archive/archive.php | 4 |
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')); } } } |
