[MediaWiki-commits] [Gerrit] mediawiki...RevisionCommentSupplement[master]: Don't use deprecated wfCountDown()

2017-10-13 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/384147 )

Change subject: Don't use deprecated wfCountDown()
..


Don't use deprecated wfCountDown()

Change-Id: I67e59169e92249ec7c2ada733655066b43717907
---
M maintenance/buildHistory.php
M maintenance/fixLogParams.php
M maintenance/fixUserGroupSupplement.php
3 files changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/maintenance/buildHistory.php b/maintenance/buildHistory.php
index 4bf6b18..de66818 100644
--- a/maintenance/buildHistory.php
+++ b/maintenance/buildHistory.php
@@ -21,7 +21,7 @@
public function execute() {
$this->output( $this->mDescription );
$this->output( "\nThis will build 10 seconds after.\n" );
-   wfCountDown( 10 );
+   $this->countDown( 10 );
if ( $this->hasOption( 'log' ) ) {
$this->buildFromLogging();
}
diff --git a/maintenance/fixLogParams.php b/maintenance/fixLogParams.php
index d29a75b..4492c21 100644
--- a/maintenance/fixLogParams.php
+++ b/maintenance/fixLogParams.php
@@ -19,7 +19,7 @@
public function execute() {
$this->output( $this->mDescription );
$this->output( "\nThis will update 10 seconds after.\n" );
-   wfCountDown( 10 );
+   $this->countDown( 10 );
$i = 0;
$dbw = $this->getDB( DB_MASTER );
$conds = array(
diff --git a/maintenance/fixUserGroupSupplement.php 
b/maintenance/fixUserGroupSupplement.php
index 6b52178..d3059b5 100644
--- a/maintenance/fixUserGroupSupplement.php
+++ b/maintenance/fixUserGroupSupplement.php
@@ -18,7 +18,7 @@
public function execute() {
$this->output( $this->mDescription );
$this->output( "\nThis will replace 10 seconds after.\n" );
-   wfCountDown( 10 );
+   $this->countDown( 10 );
$i = 0;
$dbr = wfGetDB( DB_REPLICA );
$rows = $dbr->select(

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I67e59169e92249ec7c2ada733655066b43717907
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionCommentSupplement
Gerrit-Branch: master
Gerrit-Owner: MaxSem 
Gerrit-Reviewer: Krinkle 
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...RevisionCommentSupplement[master]: Don't use deprecated wfCountDown()

2017-10-13 Thread MaxSem (Code Review)
MaxSem has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/384147 )

Change subject: Don't use deprecated wfCountDown()
..

Don't use deprecated wfCountDown()

Change-Id: I67e59169e92249ec7c2ada733655066b43717907
---
M maintenance/buildHistory.php
M maintenance/fixLogParams.php
M maintenance/fixUserGroupSupplement.php
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RevisionCommentSupplement 
refs/changes/47/384147/1

diff --git a/maintenance/buildHistory.php b/maintenance/buildHistory.php
index 4bf6b18..de66818 100644
--- a/maintenance/buildHistory.php
+++ b/maintenance/buildHistory.php
@@ -21,7 +21,7 @@
public function execute() {
$this->output( $this->mDescription );
$this->output( "\nThis will build 10 seconds after.\n" );
-   wfCountDown( 10 );
+   $this->countDown( 10 );
if ( $this->hasOption( 'log' ) ) {
$this->buildFromLogging();
}
diff --git a/maintenance/fixLogParams.php b/maintenance/fixLogParams.php
index d29a75b..4492c21 100644
--- a/maintenance/fixLogParams.php
+++ b/maintenance/fixLogParams.php
@@ -19,7 +19,7 @@
public function execute() {
$this->output( $this->mDescription );
$this->output( "\nThis will update 10 seconds after.\n" );
-   wfCountDown( 10 );
+   $this->countDown( 10 );
$i = 0;
$dbw = $this->getDB( DB_MASTER );
$conds = array(
diff --git a/maintenance/fixUserGroupSupplement.php 
b/maintenance/fixUserGroupSupplement.php
index 6b52178..d3059b5 100644
--- a/maintenance/fixUserGroupSupplement.php
+++ b/maintenance/fixUserGroupSupplement.php
@@ -18,7 +18,7 @@
public function execute() {
$this->output( $this->mDescription );
$this->output( "\nThis will replace 10 seconds after.\n" );
-   wfCountDown( 10 );
+   $this->countDown( 10 );
$i = 0;
$dbr = wfGetDB( DB_REPLICA );
$rows = $dbr->select(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67e59169e92249ec7c2ada733655066b43717907
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionCommentSupplement
Gerrit-Branch: master
Gerrit-Owner: MaxSem 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits