Changeset 5812 in subversion


Ignore:
Timestamp:
Jan 23, 2012 3:09:44 AM (17 months ago)
Author:
alec
Message:
  • Fix hook name mailboxes_list renamed to reserved name, use storage_folders and add an alias to deprecated hooks list
Location:
trunk/roundcubemail/program/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.php

    r5797 r5812  
    25092509 
    25102510        // Give plugins a chance to provide a list of folders 
    2511         $data = rcmail::get_instance()->plugins->exec_hook('folders_list', 
     2511        $data = rcmail::get_instance()->plugins->exec_hook('storage_folders', 
    25122512            array('root' => $root, 'name' => $name, 'filter' => $filter, 'mode' => 'LSUB')); 
    25132513 
     
    25952595 
    25962596        // Give plugins a chance to provide a list of folders 
    2597         $data = rcmail::get_instance()->plugins->exec_hook('folders_list', 
     2597        $data = rcmail::get_instance()->plugins->exec_hook('storage_folders', 
    25982598            array('root' => $root, 'name' => $name, 'filter' => $filter, 'mode' => 'LIST')); 
    25992599 
  • trunk/roundcubemail/program/include/rcube_plugin_api.php

    r5787 r5812  
    7575    'save_identity'     => 'identity_update', 
    7676    'identity_save'     => 'identity_update', 
     77    // to be removed after 0.8 
    7778    'imap_init'         => 'storage_init', 
     79    'mailboxes_list'    => 'storage_folders',  
    7880  ); 
    7981 
Note: See TracChangeset for help on using the changeset viewer.