Index: trunk/phase3/includes/User.php |
— | — | @@ -1653,9 +1653,8 @@ |
1654 | 1654 | * @param $id String|Int User's IP address for anonymous users, User ID otherwise |
1655 | 1655 | * @param $fromMaster Bool true to fetch from the master, false for a slave |
1656 | 1656 | * @return Bool True if the user has new messages |
1657 | | - * @private |
1658 | 1657 | */ |
1659 | | - function checkNewtalk( $field, $id, $fromMaster = false ) { |
| 1658 | + protected function checkNewtalk( $field, $id, $fromMaster = false ) { |
1660 | 1659 | if ( $fromMaster ) { |
1661 | 1660 | $db = wfGetDB( DB_MASTER ); |
1662 | 1661 | } else { |
— | — | @@ -1671,9 +1670,8 @@ |
1672 | 1671 | * @param $field String 'user_ip' for anonymous users, 'user_id' otherwise |
1673 | 1672 | * @param $id String|Int User's IP address for anonymous users, User ID otherwise |
1674 | 1673 | * @return Bool True if successful, false otherwise |
1675 | | - * @private |
1676 | 1674 | */ |
1677 | | - function updateNewtalk( $field, $id ) { |
| 1675 | + protected function updateNewtalk( $field, $id ) { |
1678 | 1676 | $dbw = wfGetDB( DB_MASTER ); |
1679 | 1677 | $dbw->insert( 'user_newtalk', |
1680 | 1678 | array( $field => $id ), |
— | — | @@ -1693,9 +1691,8 @@ |
1694 | 1692 | * @param $field String 'user_ip' for anonymous users, 'user_id' otherwise |
1695 | 1693 | * @param $id String|Int User's IP address for anonymous users, User ID otherwise |
1696 | 1694 | * @return Bool True if successful, false otherwise |
1697 | | - * @private |
1698 | 1695 | */ |
1699 | | - function deleteNewtalk( $field, $id ) { |
| 1696 | + protected function deleteNewtalk( $field, $id ) { |
1700 | 1697 | $dbw = wfGetDB( DB_MASTER ); |
1701 | 1698 | $dbw->delete( 'user_newtalk', |
1702 | 1699 | array( $field => $id ), |