aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/populateRevisionLength.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/populateRevisionLength.php')
-rw-r--r--maintenance/populateRevisionLength.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/populateRevisionLength.php b/maintenance/populateRevisionLength.php
index 5de581973573..cc1a9f1658c4 100644
--- a/maintenance/populateRevisionLength.php
+++ b/maintenance/populateRevisionLength.php
@@ -44,9 +44,9 @@ class PopulateRevisionLength extends LoggedUpdateMaintenance {
public function doDBUpdates() {
$dbw = $this->getDB( DB_MASTER );
if ( !$dbw->tableExists( 'revision' ) ) {
- $this->error( "revision table does not exist", true );
+ $this->fatalError( "revision table does not exist" );
} elseif ( !$dbw->tableExists( 'archive' ) ) {
- $this->error( "archive table does not exist", true );
+ $this->fatalError( "archive table does not exist" );
} elseif ( !$dbw->fieldExists( 'revision', 'rev_len', __METHOD__ ) ) {
$this->output( "rev_len column does not exist\n\n", true );