From 2a577a42b48312f68c86c5fd7f80a7128605a599 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 20 Oct 2009 11:39:20 +0000 Subject: more unit tests for REST api git-svn-id: http://code.elgg.org/elgg/trunk@3566 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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 -- cgit v1.2.3