| | |
| | | |
| | | /* |
| | | +-----------------------------------------------------------------------+ |
| | | | program/include/rcube_plugin_api.php | |
| | | | | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2008-2011, The Roundcube Dev Team | |
| | | | | |
| | |
| | | | | |
| | | | PURPOSE: | |
| | | | Plugins repository | |
| | | | | |
| | | +-----------------------------------------------------------------------+ |
| | | | Author: Thomas Bruederli <roundcube@gmail.com> | |
| | | +-----------------------------------------------------------------------+ |
| | |
| | | 'identity_save' => 'identity_update', |
| | | // to be removed after 0.8 |
| | | 'imap_init' => 'storage_init', |
| | | 'mailboxes_list' => 'storage_folders', |
| | | 'mailboxes_list' => 'storage_folders', |
| | | 'imap_connect' => 'storage_connect', |
| | | ); |
| | | |
| | | /** |
| | |
| | | */ |
| | | public function register_task($task, $owner) |
| | | { |
| | | // tasks are irrelevant in framework mode |
| | | if (!class_exists('rcmail', false)) |
| | | return true; |
| | | |
| | | if ($task != asciiwords($task)) { |
| | | rcube::raise_error(array('code' => 526, 'type' => 'php', |
| | | 'file' => __FILE__, 'line' => __LINE__, |