Fix Call to protected method EchoNotificationController::isWhitelistedByUser()

Change-Id: I1f53172d70785c1d4def400b785442e7512ec92c
This commit is contained in:
Reedy 2014-08-26 19:58:34 +01:00
parent d807d9f62e
commit 7859b148ce

View file

@ -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;