Use ::class to resolve class names in maintenance scripts
[lhc/web/wiklou.git] / maintenance / benchmarks / bench_delete_truncate.php
index de655b1..794b743 100644 (file)
@@ -68,8 +68,6 @@ class BenchmarkDeleteTruncate extends Benchmarker {
                ] );
 
                $dbw->dropTable( 'test' );
-
-               $this->output( $this->getFormattedResults() );
        }
 
        /**
@@ -103,5 +101,5 @@ class BenchmarkDeleteTruncate extends Benchmarker {
        }
 }
 
-$maintClass = 'BenchmarkDeleteTruncate';
+$maintClass = BenchmarkDeleteTruncate::class;
 require_once RUN_MAINTENANCE_IF_MAIN;