Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Blüm <marius@lineone.io>2016-08-17 10:02:58 +0300
committerGitHub <noreply@github.com>2016-08-17 10:02:58 +0300
commitc1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95 (patch)
treef39dd2b81c9743d9912359cbd3649101b8db383d /settings
parent0cc8b8b244fe921226a53c9c03c40e13f63b6362 (diff)
parent8f3dc0ba43123915c25ff9b328104d6fe4faf9e9 (diff)
Merge pull request #893 from nextcloud/ie8_be_gone
IE8 be gone!
Diffstat (limited to 'settings')
-rw-r--r--settings/Controller/CertificateController.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/settings/Controller/CertificateController.php b/settings/Controller/CertificateController.php
index 4a527036a7f..8121bec2ce1 100644
--- a/settings/Controller/CertificateController.php
+++ b/settings/Controller/CertificateController.php
@@ -86,10 +86,6 @@ class CertificateController extends Controller {
*/
private function addCertificate(ICertificateManager $certificateManager) {
$headers = [];
- if ($this->request->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_IE_8])) {
- // due to upload iframe workaround, need to set content-type to text/plain
- $headers['Content-Type'] = 'text/plain';
- }
if ($this->isCertificateImportAllowed() === false) {
return new DataResponse(['message' => 'Individual certificate management disabled'], Http::STATUS_FORBIDDEN, $headers);