Remove obsolete imports
authorMatthias Schmidt <gravatronics@live.com>
Thu, 7 Apr 2016 14:57:37 +0000 (16:57 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 7 Apr 2016 14:57:37 +0000 (16:57 +0200)
wcfsetup/install/files/lib/form/LoginForm.class.php
wcfsetup/install/files/lib/system/log/modification/AbstractModificationLogHandler.class.php

index 685f2ab4ff34ca6203b94a3067703ea38fc94c84..810b2bb45b44349315e56faf53119c6d0859814b 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 namespace wcf\form;
-use wcf\system\exception\UserInputException;
 use wcf\system\request\LinkHandler;
 use wcf\system\user\authentication\UserAuthenticationFactory;
 use wcf\system\WCF;
@@ -11,7 +10,7 @@ use wcf\util\UserUtil;
  * Shows the user login form.
  * 
  * @author     Marcel Werk
- * @copyright  2001-2015 WoltLab GmbH
+ * @copyright  2001-2016 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
  * @subpackage form
@@ -21,7 +20,7 @@ class LoginForm extends \wcf\acp\form\LoginForm {
        const AVAILABLE_DURING_OFFLINE_MODE = true;
        
        /**
-        * @see \wcf\page\AbstractPage::$enableTracking
+        * @inheritDoc
         */
        public $enableTracking = true;
        
@@ -32,7 +31,7 @@ class LoginForm extends \wcf\acp\form\LoginForm {
        public $useCookies = 1;
        
        /**
-        * @see \wcf\form\IForm::readFormParameters()
+        * @inheritDoc
         */
        public function readFormParameters() {
                parent::readFormParameters();
@@ -55,7 +54,7 @@ class LoginForm extends \wcf\acp\form\LoginForm {
        }
        
        /**
-        * @see \wcf\form\IForm::save()
+        * @inheritDoc
         */
        public function save() {
                AbstractForm::save();
@@ -79,16 +78,16 @@ class LoginForm extends \wcf\acp\form\LoginForm {
        }
        
        /**
-        * @see \wcf\page\IPage::assignVariables()
+        * @inheritDoc
         */
        public function assignVariables() {
                parent::assignVariables();
                
-               WCF::getTPL()->assign(array(
+               WCF::getTPL()->assign([
                        'useCookies' => $this->useCookies,
                        'supportsPersistentLogins' => UserAuthenticationFactory::getInstance()->getUserAuthentication()->supportsPersistentLogins(),
                        'loginController' => LinkHandler::getInstance()->getLink('Login')
-               ));
+               ]);
        }
        
        /**
index 020d567bf09117d91451b1e9134b0e5055cdab44..b4d41759fd905fc004237b79aa61eae60fc47daa 100644 (file)
@@ -4,8 +4,6 @@ use wcf\data\modification\log\ModificationLog;
 use wcf\data\modification\log\ModificationLogAction;
 use wcf\data\object\type\ObjectType;
 use wcf\data\object\type\ObjectTypeCache;
-use wcf\system\database\exception\DatabaseQueryException;
-use wcf\system\database\exception\DatabaseQueryExecutionException;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
 use wcf\system\exception\SystemException;
 use wcf\system\SingletonFactory;