summaryrefslogtreecommitdiff
path: root/maintenance/storage/dumpRev.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
commitcecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch)
tree17266aa237742640aabee7856f0202317a45d540 /maintenance/storage/dumpRev.php
parent0bac06c301f2a83edb0236e4c2434da16848d549 (diff)
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert kleine Korrekturen am Design
Diffstat (limited to 'maintenance/storage/dumpRev.php')
-rw-r--r--maintenance/storage/dumpRev.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/maintenance/storage/dumpRev.php b/maintenance/storage/dumpRev.php
index 4d0ccb58..d35af384 100644
--- a/maintenance/storage/dumpRev.php
+++ b/maintenance/storage/dumpRev.php
@@ -1,8 +1,9 @@
<?php
-require_once( 'commandLine.inc' );
-$dbr =& wfGetDB( DB_SLAVE );
-$row = $dbr->selectRow( 'old', array( 'old_flags', 'old_text' ), array( 'old_id' => $args[0] ) );
+require_once( dirname(__FILE__) . '/../commandLine.inc' );
+
+$dbr = wfGetDB( DB_SLAVE );
+$row = $dbr->selectRow( 'text', array( 'old_flags', 'old_text' ), array( 'old_id' => $args[0] ) );
$obj = unserialize( $row->old_text );
if ( get_class( $obj ) == 'concatenatedgziphistoryblob' ) {
@@ -11,4 +12,4 @@ if ( get_class( $obj ) == 'concatenatedgziphistoryblob' ) {
var_dump( $obj );
}
-?>
+?> \ No newline at end of file