jenkins-bot has submitted this change and it was merged. Change subject: Remove duplicate $wgAvailableRights additions ......................................................................
Remove duplicate $wgAvailableRights additions These are already set in extension.json, there's no need to also duplicate them in the callback. Change-Id: Id07aae286b0545f8e971551a4cb5352d7e3a6cab --- M Hooks.php 1 file changed, 0 insertions(+), 8 deletions(-) Approvals: Catrope: Looks good to me, approved jenkins-bot: Verified diff --git a/Hooks.php b/Hooks.php index 5058e65..0c22690 100644 --- a/Hooks.php +++ b/Hooks.php @@ -32,14 +32,6 @@ require_once __DIR__ . '/defines.php'; - // Make sure all of these are granted via OAuth in Hooks.php - $wgAvailableRights[] = 'flow-hide'; - $wgAvailableRights[] = 'flow-lock'; - $wgAvailableRights[] = 'flow-delete'; - $wgAvailableRights[] = 'flow-suppress'; - $wgAvailableRights[] = 'flow-edit-post'; - $wgAvailableRights[] = 'flow-create-board'; - // Action details config file require __DIR__ . '/FlowActions.php'; -- To view, visit https://gerrit.wikimedia.org/r/325157 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id07aae286b0545f8e971551a4cb5352d7e3a6cab Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: Legoktm <lego...@member.fsf.org> Gerrit-Reviewer: Catrope <r...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits