Index: branches/wmf/1.16wmf4/extensions/CentralAuth/CentralAuthUser.php |
— | — | @@ -403,9 +403,12 @@ |
404 | 404 | public function getHiddenLevel() { |
405 | 405 | $this->loadState(); |
406 | 406 | |
407 | | - // b/c-failsafe. Should never happen |
408 | | - if( $this->mHidden === '0' ) |
| 407 | + // backwards compatibility for mid-migration |
| 408 | + if( strval( $this->mHidden ) === '0' ) { |
409 | 409 | $this->mHidden = ''; |
| 410 | + } elseif ( strval( $this->mHidden ) === '1' ) { |
| 411 | + $this->mHidden = self::HIDDEN_LISTS; |
| 412 | + } |
410 | 413 | |
411 | 414 | return $this->mHidden; |
412 | 415 | } |
Property changes on: branches/wmf/1.16wmf4/extensions/CentralAuth |
___________________________________________________________________ |
Name: svn:mergeinfo |
413 | 416 | - /branches/wmf-deployment/extensions/CentralAuth:60970 |
/trunk/extensions/CentralAuth:62827 |
414 | 417 | + /branches/wmf-deployment/extensions/CentralAuth:60970 |
/trunk/extensions/CentralAuth:62827,64771 |