mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-25 11:17:49 +00:00
Fix Call to protected method EchoNotificationController::isWhitelistedByUser()
Change-Id: I1f53172d70785c1d4def400b785442e7512ec92c
This commit is contained in:
parent
d807d9f62e
commit
7859b148ce
|
@ -22,7 +22,7 @@ class EchoNotificationController {
|
||||||
* Format the notification count with Language::formatNum(). In addition, for large count,
|
* Format the notification count with Language::formatNum(). In addition, for large count,
|
||||||
* return abbreviated version, e.g. 99+
|
* return abbreviated version, e.g. 99+
|
||||||
*
|
*
|
||||||
* @param int count
|
* @param int $count
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function formatNotificationCount( $count ) {
|
public static function formatNotificationCount( $count ) {
|
||||||
|
@ -152,7 +152,7 @@ class EchoNotificationController {
|
||||||
* @param User $user The user that owns the whitelist
|
* @param User $user The user that owns the whitelist
|
||||||
* @return boolean True when the event agent is in the user whitelist
|
* @return boolean True when the event agent is in the user whitelist
|
||||||
*/
|
*/
|
||||||
protected static function isWhitelistedByUser( EchoEvent $event, User $user ) {
|
public static function isWhitelistedByUser( EchoEvent $event, User $user ) {
|
||||||
global $wgEchoPerUserWhitelistFormat, $wgMemc;
|
global $wgEchoPerUserWhitelistFormat, $wgMemc;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue