summaryrefslogtreecommitdiff
path: root/modules/rest
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rest')
-rw-r--r--modules/rest/helpers/rest.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/modules/rest/helpers/rest.php b/modules/rest/helpers/rest.php
index 276ff0c2..4b3166c0 100644
--- a/modules/rest/helpers/rest.php
+++ b/modules/rest/helpers/rest.php
@@ -46,14 +46,7 @@ class rest_Core {
}
/**
- * Resource Not Found
- */
- static function not_found($log_message=null) {
- return self::_format_failure_response(t("Resource not found"), $log_message);
- }
-
- /**
- * Resource Not Found
+ * Request failed
*/
static function fail($log_message=null) {
return self::_format_failure_response($log_message, $log_message);