Backfill release notes for Iaf531795
[lhc/web/wiklou.git] / maintenance / storage / dumpRev.php
index 437bfcd..5a537aa 100644 (file)
@@ -43,7 +43,7 @@ class DumpRev extends Maintenance {
                        [ 'old_id=rev_text_id', 'rev_id' => $this->getArg() ]
                );
                if ( !$row ) {
-                       $this->error( "Row not found", true );
+                       $this->fatalError( "Row not found" );
                }
 
                $flags = explode( ',', $row->old_flags );
@@ -84,5 +84,5 @@ class DumpRev extends Maintenance {
        }
 }
 
-$maintClass = "DumpRev";
+$maintClass = DumpRev::class;
 require_once RUN_MAINTENANCE_IF_MAIN;