diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-20 11:39:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-20 11:39:20 +0000 |
commit | 2a577a42b48312f68c86c5fd7f80a7128605a599 (patch) | |
tree | ab5a27c102c900bc704a716bbc7e94aa894f582f /engine/lib | |
parent | 4fa9ce868793d07dc820b4515f0cdd0e6c88519b (diff) | |
download | elgg-2a577a42b48312f68c86c5fd7f80a7128605a599.tar.gz elgg-2a577a42b48312f68c86c5fd7f80a7128605a599.tar.bz2 |
more unit tests for REST api
git-svn-id: http://code.elgg.org/elgg/trunk@3566 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/api.php | 2 |
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 |