diff options
Diffstat (limited to 'classes/pluginhandler.php')
-rw-r--r-- | classes/pluginhandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pluginhandler.php b/classes/pluginhandler.php index 690305165..5ca5c17d3 100644 --- a/classes/pluginhandler.php +++ b/classes/pluginhandler.php @@ -11,10 +11,10 @@ class PluginHandler extends Handler_Protected { if (method_exists($plugin, $method)) { $plugin->$method(); } else { - print json_encode(array("error" => "METHOD_NOT_FOUND")); + print error_json(13); } } else { - print json_encode(array("error" => "PLUGIN_NOT_FOUND")); + print error_json(14); } } } |