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

Change subject: wfMemcKey (deprecated in MW 1.30) -> makeKey() on a BagOStuff 
instance
......................................................................


wfMemcKey (deprecated in MW 1.30) -> makeKey() on a BagOStuff instance

Change-Id: I55347dc192a089bbf6d0a34adcb788713fa0e7eb
---
M includes/SiteScout.class.php
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/includes/SiteScout.class.php b/includes/SiteScout.class.php
index d4df4fe..a00c771 100644
--- a/includes/SiteScout.class.php
+++ b/includes/SiteScout.class.php
@@ -369,7 +369,7 @@
        function populateItems() {
                global $wgMemc;
 
-               $key = wfMemcKey( 'site_scout', $this->itemMax );
+               $key = $wgMemc->makeKey( 'site_scout', $this->itemMax );
                $data = $wgMemc->get( $key );
                if ( $data ) {
                        wfDebug( "Site scout loaded from cache\n" );
@@ -583,7 +583,7 @@
 
                // Set cache
                global $wgMemc;
-               $key = wfMemcKey( 'site_scout', $this->itemMax );
+               $key = $wgMemc->makeKey( 'site_scout', $this->itemMax );
                $wgMemc->set( $key, $this->all_items, 30 );
        }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I55347dc192a089bbf6d0a34adcb788713fa0e7eb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SiteScout
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
Gerrit-Reviewer: SamanthaNguyen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to