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 "Correct error message for missing permission to get patrol information"
[lhc/web/wiklou.git]
/
maintenance
/
fetchText.php
diff --git
a/maintenance/fetchText.php
b/maintenance/fetchText.php
index
989e90a
..
7e1b527
100644
(file)
--- a/
maintenance/fetchText.php
+++ b/
maintenance/fetchText.php
@@
-78,8
+78,8
@@
class FetchText extends Maintenance {
private function doGetText( $db, $id ) {
$id = intval( $id );
$row = $db->selectRow( 'text',
private function doGetText( $db, $id ) {
$id = intval( $id );
$row = $db->selectRow( 'text',
-
array( 'old_text', 'old_flags' )
,
-
array( 'old_id' => $id )
,
+
[ 'old_text', 'old_flags' ]
,
+
[ 'old_id' => $id ]
,
__METHOD__ );
$text = Revision::getRevisionText( $row );
if ( $text === false ) {
__METHOD__ );
$text = Revision::getRevisionText( $row );
if ( $text === false ) {