diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-16 20:48:04 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-16 20:48:04 +0200 |
commit | 0cb8f74cd174ac264b8ef27b0759cce0845bd402 (patch) | |
tree | 460974d5404318ca8d6521b6be0b618c4b80c4ee /core/Controller | |
parent | 9db189174c26326bbb58d96f614a415cd15542d1 (diff) | |
download | nextcloud-server-0cb8f74cd174ac264b8ef27b0759cce0845bd402.tar.gz nextcloud-server-0cb8f74cd174ac264b8ef27b0759cce0845bd402.zip |
Delete IE8 support in the avatar controller
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/AvatarController.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index ed63025aca4..6fc08ec3c18 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -150,14 +150,9 @@ class AvatarController extends Controller { * @return DataResponse */ public function postAvatar($path) { - $userId = $this->userSession->getUser()->getUID(); $files = $this->request->getUploadedFile('files'); $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 (isset($path)) { $path = stripslashes($path); |