dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8204049
)
Use Status::isOK() method in FileDeleteForm
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 20 Sep 2016 22:57:35 +0000
(15:57 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 20 Sep 2016 22:57:35 +0000
(15:57 -0700)
Change-Id: I3c21ee1f0ecc4077772ddba6e740a67ed143ece0
includes/FileDeleteForm.php
patch
|
blob
|
history
diff --git
a/includes/FileDeleteForm.php
b/includes/FileDeleteForm.php
index
65638f2
..
47360df
100644
(file)
--- a/
includes/FileDeleteForm.php
+++ b/
includes/FileDeleteForm.php
@@
-125,7
+125,7
@@
class FileDeleteForm {
$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