Merge "Clean up user version constants"
[lhc/web/wiklou.git] / includes / User.php
index 6874387..bbbaeac 100644 (file)
@@ -3809,6 +3809,7 @@ class User implements IDBAccessObject {
                global $wgNewPasswordExpiry;
 
                $this->load();
+               $this->loadPasswords();
                if ( $this->mNewpassword->equals( $plaintext ) ) {
                        if ( is_null( $this->mNewpassTime ) ) {
                                return true;