jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/372922 )
Change subject: Remove reference to obsolete MWMemcached class
......................................................................
Remove reference to obsolete MWMemcached class
$wgMemc is actually a BagOStuff instance. And its unused, so just remove
that line entirely.
Change-Id: I4dcccfb823a493f4fbafc88f931eabd646f95a93
---
M Emoticons/Emoticons.class.php
1 file changed, 1 insertion(+), 3 deletions(-)
Approvals:
Pwirth: Looks good to me, approved
jenkins-bot: Verified
diff --git a/Emoticons/Emoticons.class.php b/Emoticons/Emoticons.class.php
index 701b14c..53d41c8 100644
--- a/Emoticons/Emoticons.class.php
+++ b/Emoticons/Emoticons.class.php
@@ -158,11 +158,9 @@
* @param int $iSection Number of edited section
* @param int &$iFlags
* @param Status $oStatus The Status object
- * @global MWMemcached $wgMemc The MediaWiki Memcached object
* @return mixed Boolean true if syntax is okay or the saved article is
not the MappingSourceArticle, String 'error-msg' if an error occurs.
*/
public function onPageContentSave( $owikiPage, $oUser, $oContent,
$sSummary, $bIsMinor, $bIsWatch, $iSection, &$iFlags, $oStatus ) {
- global $wgMemc;
$oMappingSourceTitle = Title::newFromText(
'bs-emoticons-mapping', NS_MEDIAWIKI );
if( !$oMappingSourceTitle->equals( $owikiPage->getTitle() ) )
return true;
@@ -209,4 +207,4 @@
return true;
}
-}
\ No newline at end of file
+}
--
To view, visit https://gerrit.wikimedia.org/r/372922
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4dcccfb823a493f4fbafc88f931eabd646f95a93
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[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