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
Register a default value for the timecorrection preference
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
dumpRev.php
diff --git
a/maintenance/storage/dumpRev.php
b/maintenance/storage/dumpRev.php
index
f12bbd1
..
39e06a3
100644
(file)
--- a/
maintenance/storage/dumpRev.php
+++ b/
maintenance/storage/dumpRev.php
@@
-36,11
+36,11
@@
class DumpRev extends Maintenance {
}
public function execute() {
}
public function execute() {
- $dbr =
wfG
etDB( DB_SLAVE );
+ $dbr =
$this->g
etDB( DB_SLAVE );
$row = $dbr->selectRow(
$row = $dbr->selectRow(
-
array( 'text', 'revision' )
,
-
array( 'old_flags', 'old_text' )
,
- array( 'old_id=rev_text_id', 'rev_id' => $this->getArg() )
+
[ 'text', 'revision' ]
,
+
[ 'old_flags', 'old_text' ]
,
+ [ 'old_id=rev_text_id', 'rev_id' => $this->getArg() ]
);
if ( !$row ) {
$this->error( "Row not found", true );
);
if ( !$row ) {
$this->error( "Row not found", true );