diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/api.php b/lib/private/api.php index ccaccda97be..e8e54e375e9 100644 --- a/lib/private/api.php +++ b/lib/private/api.php @@ -361,7 +361,7 @@ class OC_API { /** * Based on the requested format the response content type is set */ - public static function setOcsContentType() { + public static function setContentType() { $format = \OC_API::requestedFormat(); if ($format === 'xml') { header('Content-type: text/xml; charset=UTF-8'); |