mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Merge "NotifUser: Add a doc comment for getForeignCount()"
This commit is contained in:
commit
aa984f1b9b
|
@ -695,6 +695,11 @@ class MWEchoNotifUser {
|
|||
return $this->mForeignData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the number of foreign notifications in a given section.
|
||||
* @param string $section One of EchoAttributeManager::$sections
|
||||
* @return int Number of foreign notifications
|
||||
*/
|
||||
protected function getForeignCount( $section = EchoAttributeManager::ALL ) {
|
||||
global $wgEchoSectionTransition, $wgEchoBundleTransition;
|
||||
$count = 0;
|
||||
|
|
Loading…
Reference in a new issue