From: Marcel Werk Date: Fri, 19 Jun 2015 17:18:56 +0000 (+0200) Subject: Removed obsolete code X-Git-Tag: 2.1.5~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d6fec00a9375f62d322d3e227d2eee43dfe87937;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete code --- diff --git a/wcfsetup/install/files/lib/form/AccountManagementForm.class.php b/wcfsetup/install/files/lib/form/AccountManagementForm.class.php index 5aeefea8cd..f4b7848220 100644 --- a/wcfsetup/install/files/lib/form/AccountManagementForm.class.php +++ b/wcfsetup/install/files/lib/form/AccountManagementForm.class.php @@ -313,7 +313,6 @@ class AccountManagementForm extends AbstractForm { $success = array(); $updateParameters = array(); - $updateOptions = array(); // quit if (WCF::getSession()->getPermission('user.profile.canQuit')) { @@ -435,9 +434,6 @@ class AccountManagementForm extends AbstractForm { if (!empty($updateParameters) || !empty($this->additionalFields)) { $data['data'] = array_merge($this->additionalFields, $updateParameters); } - if (!empty($updateOptions)) { - $data['options'] = $updateOptions; - } $this->objectAction = new UserAction(array(WCF::getUser()), 'update', $data); $this->objectAction->executeAction();