diff --git a/apps/contacts/ajax/currentphoto.php b/apps/contacts/ajax/currentphoto.php index 96080e661ef2012840e5cadce0801afbda2c3f05..c8cccf83a659d8ae4ec75103ada8ee5a5ddb2e25 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 8ee2e46bf0c36da6d187eed6191b0cdbc890558b..07de138757da0f5bb29de53e6f40b9fc8c493e2f 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 4cd38db8c72a8407e917ec455a4303806ad0119f..63abeb1fee1797aa7216bbc37bac25981c0609c4 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.