Kaldari has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/192632

Change subject: Declaring Hooks::isUIEnabled() as a static function
......................................................................

Declaring Hooks::isUIEnabled() as a static function

Change-Id: I0f03a03ceec9b6e755a30f2287ff9da07c124b40
---
M includes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiGrok 
refs/changes/32/192632/1

diff --git a/includes/Hooks.php b/includes/Hooks.php
index 85c4a47..8059509 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -23,7 +23,7 @@
         * Utility function for determining whether the UI is enabled
         * @return bool
         */
-       protected function isUIEnabled() {
+       protected static function isUIEnabled() {
                $config = self::getConfig();
                return $config->get( 'WikiGrokUIEnable') && class_exists( 
'ApiCentralAuthToken' );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f03a03ceec9b6e755a30f2287ff9da07c124b40
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiGrok
Gerrit-Branch: master
Gerrit-Owner: Kaldari <rkald...@wikimedia.org>

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

Reply via email to