diff options
Diffstat (limited to 'modules/rest')
-rw-r--r-- | modules/rest/helpers/rest.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/rest/helpers/rest.php b/modules/rest/helpers/rest.php index 76ecef23..fccb365e 100644 --- a/modules/rest/helpers/rest.php +++ b/modules/rest/helpers/rest.php @@ -49,12 +49,6 @@ class rest_Core { identity::set_active_user($user); } - static function send_headers($exception) { - if (!headers_sent()) { - header("HTTP/1.1 " . $exception->getCode() . " " . $exception->getMessage()); - } - } - /** * Convert a REST url into an object. * Eg: "http://example.com/gallery3/index.php/rest/gallery/Family/Wedding" -> Item_Model |