X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FdumpRev.php;h=f12bbd1b73970db10b6489b1c82a6cb6e9180d91;hb=422300936d7bd030f2bdbeebb77fc49f681400dd;hp=39f08f9de7d921e55bea7485a02e888efddf376d;hpb=f5536e680b49aaf05062f954e39077b18df13a0f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/dumpRev.php b/maintenance/storage/dumpRev.php index 39f08f9de7..f12bbd1b73 100644 --- a/maintenance/storage/dumpRev.php +++ b/maintenance/storage/dumpRev.php @@ -21,7 +21,7 @@ * @ingroup Maintenance ExternalStorage */ -require_once( __DIR__ . '/../Maintenance.php' ); +require_once __DIR__ . '/../Maintenance.php'; /** * Maintenance script that gets the text of a revision, @@ -46,7 +46,7 @@ class DumpRev extends Maintenance { $this->error( "Row not found", true ); } - $flags = explode( ',', $row->old_flags ); + $flags = explode( ',', $row->old_flags ); $text = $row->old_text; if ( in_array( 'external', $flags ) ) { $this->output( "External $text\n" ); @@ -85,4 +85,4 @@ class DumpRev extends Maintenance { } $maintClass = "DumpRev"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;