Aleksander Machniak
2012-11-12 92eb10e7732716beec8b227693d62cb9a79b9db6
Don't throw error when plugin doesn't register 'refresh' action handler
1 files modified
2 ■■■ changed files
program/include/rcube_plugin_api.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_plugin_api.php
@@ -327,7 +327,7 @@
    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);