Siebrand has submitted this change and it was merged.

Change subject: Give grep a chance to find the usages
......................................................................


Give grep a chance to find the usages

Change-Id: Iafd3c3c9a65e159e2f2e3c1e132b42028cbf36d1
---
M includes/Adapter.class.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Siebrand: Verified; Looks good to me, approved



diff --git a/includes/Adapter.class.php b/includes/Adapter.class.php
index 75634e9..6e37ca2 100644
--- a/includes/Adapter.class.php
+++ b/includes/Adapter.class.php
@@ -388,6 +388,7 @@
                $oUser = self::loadCurrentUser();
                if ($oUser->isAllowed($sPermission))
                        return true;
+               // Give grep a chance to find the usages: bs-not_allowed
                if (!$bSilent)
                        echo wfMsg('bs-' . $sI18NMessageKey);
                return false;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iafd3c3c9a65e159e2f2e3c1e132b42028cbf36d1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to