Catrope has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371516 )

Change subject: Don't overwrite the system category from Echo
......................................................................

Don't overwrite the system category from Echo

Change-Id: Icb92f577b4df0808b6041e36454e0b642136b4b6
---
M Hooks.php
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TheWikipediaLibrary 
refs/changes/16/371516/1

diff --git a/Hooks.php b/Hooks.php
index 5f16c2e..e66a30f 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -19,10 +19,6 @@
        public static function onBeforeCreateEchoEvent(
                &$notifications, &$notificationCategories, &$icons
        ) {
-               $notificationCategories['system'] = [
-                       'priority' => 9
-               ];
-
                $notifications['twl-eligible'] = [
                        EchoAttributeManager::ATTR_LOCATORS => [
                                'EchoUserLocator::locateEventAgent'

-- 
To view, visit https://gerrit.wikimedia.org/r/371516
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb92f577b4df0808b6041e36454e0b642136b4b6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TheWikipediaLibrary
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to