[MediaWiki-commits] [Gerrit] mediawiki...SiteScout[master]: wfMemcKey (deprecated in MW 1.30) -> makeKey() on a BagOStuf...
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 PhoenixGerrit-Reviewer: SamanthaNguyen Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...SiteScout[master]: wfMemcKey (deprecated in MW 1.30) -> makeKey() on a BagOStuf...
Jack Phoenix has uploaded a new change for review. ( 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SiteScout refs/changes/63/403863/1 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: newchange Gerrit-Change-Id: I55347dc192a089bbf6d0a34adcb788713fa0e7eb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SiteScout Gerrit-Branch: master Gerrit-Owner: Jack Phoenix___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits