jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/390272 )

Change subject: BSFoundation: Added the bluespice config mechanism to all BSApi 
classes
......................................................................


BSFoundation: Added the bluespice config mechanism to all BSApi classes

Change-Id: I8bce571611f1970bb98d086cd5e275fad6f1c116
---
M includes/api/BSApiBase.php
1 file changed, 11 insertions(+), 0 deletions(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/api/BSApiBase.php b/includes/api/BSApiBase.php
index e709b7f..eb41202 100644
--- a/includes/api/BSApiBase.php
+++ b/includes/api/BSApiBase.php
@@ -95,4 +95,15 @@
        public function getCustomPrinter() {
                return new BSApiFormatJson( $this->getMain(), 
$this->getParameter( 'format' ) );
        }
+
+       /**
+        * Get the Config object
+        *
+        * @since 1.23
+        * @return Config
+        */
+       public function getConfig() {
+               return \MediaWiki\MediaWikiServices::getInstance()
+                       ->getConfigFactory()->makeConfig( 'bsg' );
+       }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8bce571611f1970bb98d086cd5e275fad6f1c116
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Pwirth <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to