This reverts commit fa6d26b53c.
fa6d26b53c
@ -20,6 +20,8 @@
*
*/
// 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';
@ -24,6 +24,9 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
$image = null;
@ -25,6 +25,8 @@ OCP\JSON::checkLoggedIn();
$l10n = OC_Contacts_App::$l10n;
// If it is a Drag'n'Drop transfer it's handled here.