Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Fri, 19 Jun 2015 17:18:56 +0000 (19:18 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 19 Jun 2015 17:18:56 +0000 (19:18 +0200)
wcfsetup/install/files/lib/form/AccountManagementForm.class.php

index 5aeefea8cdccefb2cfe4d2b32fed59af4551d0ea..f4b7848220ba06b87842f7881acc5dbe7d549807 100644 (file)
@@ -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();