diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-07-27 04:29:15 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-07-30 04:57:14 +0200 |
commit | fa6d26b53c020940e38f632940f73dbbb56f6847 (patch) | |
tree | b2635de5b61fa4151107093ab6511650fd7ad6e5 /apps/contacts | |
parent | 3430dcd367a0053b97feaa8e59be0ebda44e1dc4 (diff) | |
download | nextcloud-server-fa6d26b53c020940e38f632940f73dbbb56f6847.tar.gz nextcloud-server-fa6d26b53c020940e38f632940f73dbbb56f6847.zip |
Removed text/plain header.
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/ajax/currentphoto.php | 2 | ||||
-rw-r--r-- | apps/contacts/ajax/savecrop.php | 3 | ||||
-rw-r--r-- | apps/contacts/ajax/uploadphoto.php | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/apps/contacts/ajax/currentphoto.php b/apps/contacts/ajax/currentphoto.php index 96080e661ef..c8cccf83a65 100644 --- a/apps/contacts/ajax/currentphoto.php +++ b/apps/contacts/ajax/currentphoto.php @@ -20,8 +20,6 @@ * */ -// Firefox and Konqueror tries to download application/json for me. --Arthur -OCP\JSON::setContentTypeHeader('text/plain'); OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); require_once 'loghandler.php'; diff --git a/apps/contacts/ajax/savecrop.php b/apps/contacts/ajax/savecrop.php index 8ee2e46bf0c..07de138757d 100644 --- a/apps/contacts/ajax/savecrop.php +++ b/apps/contacts/ajax/savecrop.php @@ -24,9 +24,6 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); OCP\JSON::callCheck(); -// Firefox and Konqueror tries to download application/json for me. --Arthur -OCP\JSON::setContentTypeHeader('text/plain'); - require_once 'loghandler.php'; $image = null; diff --git a/apps/contacts/ajax/uploadphoto.php b/apps/contacts/ajax/uploadphoto.php index 4cd38db8c72..63abeb1fee1 100644 --- a/apps/contacts/ajax/uploadphoto.php +++ b/apps/contacts/ajax/uploadphoto.php @@ -25,8 +25,6 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::checkAppEnabled('contacts'); OCP\JSON::callCheck(); -// Firefox and Konqueror tries to download application/json for me. --Arthur -OCP\JSON::setContentTypeHeader('text/plain'); require_once 'loghandler.php'; $l10n = OC_Contacts_App::$l10n; // If it is a Drag'n'Drop transfer it's handled here. |