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

Change subject: Use Status::isOK() method in FileDeleteForm
......................................................................


Use Status::isOK() method in FileDeleteForm

Change-Id: I3c21ee1f0ecc4077772ddba6e740a67ed143ece0
---
M includes/FileDeleteForm.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php
index 65638f2..47360df 100644
--- a/includes/FileDeleteForm.php
+++ b/includes/FileDeleteForm.php
@@ -125,7 +125,7 @@
                                        $status->getWikiText( 
'filedeleteerror-short', 'filedeleteerror-long' )
                                        . '</div>' );
                        }
-                       if ( $status->ok ) {
+                       if ( $status->isOK() ) {
                                $wgOut->setPageTitle( wfMessage( 
'actioncomplete' ) );
                                $wgOut->addHTML( $this->prepareMessage( 
'filedelete-success' ) );
                                // Return to the main page if we just deleted 
all versions of the

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c21ee1f0ecc4077772ddba6e740a67ed143ece0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Catrope <roan.katt...@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