mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Removed text/plain header.
This commit is contained in:
parent
088241b211
commit
745e294b0c
@ -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';
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user