]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/filter/change/class_PasswordChangeFilter.php
Continued:
[core.git] / framework / main / classes / filter / change / class_PasswordChangeFilter.php
index 40f2c4af9e489b7b16a4e9124a0eb182bb76760d..e00c3543d977ffe28daa1132c36433379ee78335 100644 (file)
@@ -81,7 +81,7 @@ class PasswordChangeFilter extends BaseFilter implements Filterable {
 
                        // Stop processing here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - if
+               }
 
                // Is only second pass set?
                if ((empty($pass1)) && (!empty($pass2))) {
@@ -93,13 +93,13 @@ class PasswordChangeFilter extends BaseFilter implements Filterable {
 
                        // Stop processing here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - if
+               }
 
                // Are password and confirmation empty?
                if ((empty($pass1)) && (empty($pass2))) {
                        // Don't change password here
                        return true;
-               } // END - if
+               }
 
                // Do both match?
                if ($pass1 != $pass2) {
@@ -111,7 +111,7 @@ class PasswordChangeFilter extends BaseFilter implements Filterable {
 
                        // Stop processing here
                        throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
-               } // END - if
+               }
 
                // Now, get a user instance for comparison
                $userInstance = GenericRegistry::getRegistry()->getInstance('user');