summaryrefslogtreecommitdiff
path: root/modules/rest/helpers/rest.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-08 23:27:43 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-08 23:27:43 -0800
commit9319f37c4f157c5b0787df9116889e4e9ea5df78 (patch)
tree17a8f9085b9562e47aea613f3522f6632c5f92bc /modules/rest/helpers/rest.php
parent837396ca2889b9e4e4a7b33a31409a2cd12a483c (diff)
Correct the error message when the item is not found; remove the check for no request_key (access_token) as athat is treated as public permissions
Diffstat (limited to 'modules/rest/helpers/rest.php')
-rw-r--r--modules/rest/helpers/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/helpers/rest.php b/modules/rest/helpers/rest.php
index 22c13be9..fbbd6733 100644
--- a/modules/rest/helpers/rest.php
+++ b/modules/rest/helpers/rest.php
@@ -49,7 +49,7 @@ class rest_Core {
* Resource Not Found
*/
static function not_found($log_message=null) {
- return self::_format_response(t("Internal error"), $log_message);
+ return self::_format_response(t("Resource not found"), $log_message);
}
/**