Don't throw error when plugin doesn't register 'refresh' action handler

pull/45/merge
Aleksander Machniak 12 years ago
parent 7da99712d2
commit 92eb10e773

@ -327,7 +327,7 @@ class rcube_plugin_api
if (isset($this->actions[$action])) {
call_user_func($this->actions[$action]);
}
else {
else if (rcube::get_instance()->action != 'refresh') {
rcube::raise_error(array('code' => 524, 'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
'message' => "No handler found for action $action"), true, true);

Loading…
Cancel
Save