diff options
author | alecpl <alec@alec.pl> | 2010-07-30 06:34:02 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-07-30 06:34:02 +0000 |
commit | e6ce0062f2331b8756cc91944ceaea8d7cbffd18 (patch) | |
tree | 1005f3248c2dc0eb12a7587c19c2bf5181ac7fc8 /program/steps/settings/func.inc | |
parent | ee09d464a86a75958e1b61f230e0f0294e929a7e (diff) |
- Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings)
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index d71714b64..b611e66f9 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -75,7 +75,7 @@ function rcmail_identities_list($attrib) $list[$idx]['mail'] = trim($row['name'] . ' <' . $row['email'] .'>'); // get all identites from DB and define list of cols to be displayed - $plugin = $RCMAIL->plugins->exec_hook('list_identities', array( + $plugin = $RCMAIL->plugins->exec_hook('identities_list', array( 'list' => $list, 'cols' => array('mail'))); @@ -131,7 +131,7 @@ function rcmail_user_prefs($current=null) $sections['server'] = array('id' => 'server', 'section' => rcube_label('serversettings')); // hook + define list cols - $plugin = $RCMAIL->plugins->exec_hook('list_prefs_sections', + $plugin = $RCMAIL->plugins->exec_hook('preferences_sections_list', array('list' => $sections, 'cols' => array('section'))); $sections = $plugin['list']; @@ -676,7 +676,7 @@ function rcmail_user_prefs($current=null) break; } - $data = $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $sect['id'], 'blocks' => $blocks)); + $data = $RCMAIL->plugins->exec_hook('preferences_list', array('section' => $sect['id'], 'blocks' => $blocks)); $found = false; // create output |