Robert Vogel has submitted this change and it was merged.

Change subject: BsExtensionMw: Cache key getter
......................................................................


BsExtensionMw: Cache key getter

* added getCacheKey method

Change-Id: Id54d5f56f53ae98f3d77ac476f8a8705441b7b92
---
M includes/ExtensionMW.class.php
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved



diff --git a/includes/ExtensionMW.class.php b/includes/ExtensionMW.class.php
index 63a3392..657754d 100644
--- a/includes/ExtensionMW.class.php
+++ b/includes/ExtensionMW.class.php
@@ -119,4 +119,16 @@
                return dirname( $this->getResourcePath() ).'/images/';
        }
 
+       /**
+        * Returns the cache key for this particlular extension
+        * @param string $sSubKey
+        * @return string
+        */
+       public function getCacheKey( $sSubKey = 'default' ) {
+               return BsCacheHelper::getCacheKey(
+                       'BlueSpice',
+                       $this->getName(),
+                       $sSubKey
+               );
+       }
 }
\ No newline at end of file

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

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

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

Reply via email to