aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/api.php')
-rw-r--r--engine/lib/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/api.php b/engine/lib/api.php
index 493e2a47f..f2424c766 100644
--- a/engine/lib/api.php
+++ b/engine/lib/api.php
@@ -494,7 +494,7 @@ function execute_method($method) {
// function must be callable
if (!(isset($API_METHODS[$method]["function"])) || !(is_callable($API_METHODS[$method]["function"]))) {
- throw new APIException(sprintf(elgg_echo('APIException:MethodCallNotImplemented'), $method));
+ throw new APIException(sprintf(elgg_echo('APIException:FunctionDoesNotExist'), $method));
}
// check http call method