dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d36f702
)
Merge "Use Status::isOK() method in FileDeleteForm"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 21 Sep 2016 00:19:11 +0000
(
00:19
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 21 Sep 2016 00:19:11 +0000
(
00:19
+0000)
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