jenkins-bot has submitted this change and it was merged.
Change subject: Remove unused global $wgMemc
......................................................................
Remove unused global $wgMemc
Rename $type so it's not unused
Change-Id: If74c659a4ae507d8d59fe4d17e77f13f5e646c95
---
M maintenance/nextJobDB.php
1 file changed, 2 insertions(+), 3 deletions(-)
Approvals:
Reedy: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/nextJobDB.php b/maintenance/nextJobDB.php
index 6cc8566..f5bf4da 100644
--- a/maintenance/nextJobDB.php
+++ b/maintenance/nextJobDB.php
@@ -37,10 +37,9 @@
}
public function execute() {
- global $wgMemc, $wgJobTypesExcludedFromDefaultQueue;
+ global $wgJobTypesExcludedFromDefaultQueue;
- $type = false; // job type required/picked
-
+ // job type required/picked
if ( $this->hasOption( 'types' ) ) {
$types = explode( ' ', $this->getOption( 'types' ) );
} elseif ( $this->hasOption( 'type' ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/51035
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If74c659a4ae507d8d59fe4d17e77f13f5e646c95
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Platonides <[email protected]>
Gerrit-Reviewer: Platonides <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits