diff options
author | Marius Blüm <marius@lineone.io> | 2016-08-17 09:02:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-17 09:02:58 +0200 |
commit | c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95 (patch) | |
tree | f39dd2b81c9743d9912359cbd3649101b8db383d /core | |
parent | 0cc8b8b244fe921226a53c9c03c40e13f63b6362 (diff) | |
parent | 8f3dc0ba43123915c25ff9b328104d6fe4faf9e9 (diff) | |
download | nextcloud-server-c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95.tar.gz nextcloud-server-c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95.zip |
Merge pull request #893 from nextcloud/ie8_be_gone
IE8 be gone!
Diffstat (limited to 'core')
-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); |