summaryrefslogtreecommitdiffstats
path: root/lib/private/api.php
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 10:00:22 +0100
commit88f6dd7db1b3dc4cb68d3526a35108d196a5e5cb (patch)
tree539584e161a467d007f2c6e5c2792cdeae11e55b /lib/private/api.php
parent743addd1e317c760e8b1e4ad7dc149476e4ad282 (diff)
downloadnextcloud-server-88f6dd7db1b3dc4cb68d3526a35108d196a5e5cb.tar.gz
nextcloud-server-88f6dd7db1b3dc4cb68d3526a35108d196a5e5cb.zip
fixing method names
Diffstat (limited to 'lib/private/api.php')
-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 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');