From d6fec00a9375f62d322d3e227d2eee43dfe87937 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 19 Jun 2015 19:18:56 +0200 Subject: [PATCH] Removed obsolete code --- .../install/files/lib/form/AccountManagementForm.class.php | 4 ---- 1 file changed, 4 deletions(-) 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(); -- 2.20.1