jenkins-bot has submitted this change and it was merged.

Change subject: Use lastDoneWrites() instead of doneWrites()
......................................................................


Use lastDoneWrites() instead of doneWrites()

The latter may be deprecated at some point.

Change-Id: If3ce76416093deebfe2365c18123d53416751c23
---
M ApiUiFeedback.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/ApiUiFeedback.php b/ApiUiFeedback.php
index e257812..2c9b06d 100644
--- a/ApiUiFeedback.php
+++ b/ApiUiFeedback.php
@@ -140,7 +140,7 @@
 
                        $dbw->endAtomic( __METHOD__ );
 
-                       if( $dbw->doneWrites() ) {
+                       if( $dbw->lastDoneWrites() ) {
                                $this->getResult()->addValue( null, 
$this->getModuleName(), array( 'status' => 'ok', 'params' => $params ) );
                        } else {
                                $this->dieUsage( 'Write to DB was not 
successful', 'error' );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If3ce76416093deebfe2365c18123d53416751c23
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UIFeedback
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Krinkle <krinklem...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to