diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-11-12 14:30:19 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-11-12 14:30:19 +0100 |
commit | 92eb10e7732716beec8b227693d62cb9a79b9db6 (patch) | |
tree | 51a9fe8fba9c7fa984c50bef5866a0629df8b20b /program/include | |
parent | 7da99712d2ba25ba1e097650f3dbd7f8f49db645 (diff) |
Don't throw error when plugin doesn't register 'refresh' action handler
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_plugin_api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php index 107c81026..c473b0b17 100644 --- a/program/include/rcube_plugin_api.php +++ b/program/include/rcube_plugin_api.php @@ -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); |