@ -151,7 +151,7 @@ class rcube_imap extends rcube_storage
$attempt = 0;
do {
$data = rcube::get_instance()->plugins->exec_hook('imap_connect',
$data = rcube::get_instance()->plugins->exec_hook('storage_connect',
array_merge($this->options, array('host' => $host, 'user' => $user,
'attempt' => ++$attempt)));
@ -79,6 +79,7 @@ class rcube_plugin_api
// to be removed after 0.8
'imap_init' => 'storage_init',
'mailboxes_list' => 'storage_folders',
'imap_connect' => 'storage_connect',
);
/**