diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/controller/certificatecontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/certificatecontroller.php b/settings/controller/certificatecontroller.php index b7bc81920c2..ef14ff3d9d9 100644 --- a/settings/controller/certificatecontroller.php +++ b/settings/controller/certificatecontroller.php @@ -69,7 +69,7 @@ class CertificateController extends Controller { */ public function addPersonalRootCertificate() { $headers = []; - if (\OCP\Util::isIE8()) { + if (\OC::$server->getRequest()->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'; } |