dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Fix variable name and use isset() to shut up a stupid notice"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFileRevert.php
diff --git
a/includes/api/ApiFileRevert.php
b/includes/api/ApiFileRevert.php
index
61966e5
..
5517ee0
100644
(file)
--- a/
includes/api/ApiFileRevert.php
+++ b/
includes/api/ApiFileRevert.php
@@
-61,7
+61,7
@@
class ApiFileRevert extends ApiBase {
} else {
$result = array(
'result' => 'Failure',
- 'errors' => $this->get
Result()->convertStatusToArray
( $status ),
+ 'errors' => $this->get
ErrorFormatter()->arrayFromStatus
( $status ),
);
}