diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-12 10:00:22 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-12 15:40:54 +0100 |
commit | 46657ad8a6a345daf8404f2e4f5d49cad2030e56 (patch) | |
tree | af0706e6593a6376b729f43064be0d0ca1225881 /lib | |
parent | 14b9eba4285c2af551af665577b1a286b3245f37 (diff) | |
download | nextcloud-server-46657ad8a6a345daf8404f2e4f5d49cad2030e56.tar.gz nextcloud-server-46657ad8a6a345daf8404f2e4f5d49cad2030e56.zip |
fixing method names
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 00f80b57468..0d155b9116c 100644 --- a/lib/private/api.php +++ b/lib/private/api.php @@ -358,7 +358,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'); |