summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-12 10:00:22 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-12 15:40:54 +0100
commit46657ad8a6a345daf8404f2e4f5d49cad2030e56 (patch)
treeaf0706e6593a6376b729f43064be0d0ca1225881 /lib
parent14b9eba4285c2af551af665577b1a286b3245f37 (diff)
downloadnextcloud-server-46657ad8a6a345daf8404f2e4f5d49cad2030e56.tar.gz
nextcloud-server-46657ad8a6a345daf8404f2e4f5d49cad2030e56.zip
fixing method names
Diffstat (limited to 'lib')
-rw-r--r--lib/private/api.php2
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');