]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/filter/verifier/class_AccountPasswordVerifierFilter.php
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / inc / classes / main / filter / verifier / class_AccountPasswordVerifierFilter.php
index 7f3bc69e35d97494c3ff4e28895c0580c2ac879b..eab77bdeaa0fe50df4273a147f1c257aff079313 100644 (file)
@@ -31,12 +31,6 @@ class AccountPasswordVerifierFilter extends BaseFilter implements Filterable {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set part description
-               $this->setObjectDescription("A filter for account password verification");
-
-               // Create unique ID number
-               $this->generateUniqueId();
        }
 
        /**
@@ -97,7 +91,7 @@ class AccountPasswordVerifierFilter extends BaseFilter implements Filterable {
                // Does it match?
                if ($oldHash != $passHash) {
                        // Throw an exception here to stop the proccessing
-                       throw new AccountPasswordMismatchException($this, User::EXCEPTION_USER_PASS_MISMATCH);
+                       throw new AccountPasswordMismatchException($this, BaseUser::EXCEPTION_USER_PASS_MISMATCH);
                } // END - if
        }
 }