X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmigrateArchiveText.php;h=71fff56f75156e44ab183d93e4a0142d552aed57;hb=8d02d1d2900fa196bd11841111b5b3a339f6dca4;hp=60dbea1ea9f0a451523fa33581eecb0b6692278f;hpb=a54c5ba2befabe60aa4c78a57b4d6b3cf2c81628;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/migrateArchiveText.php b/maintenance/migrateArchiveText.php index 60dbea1ea9..71fff56f75 100644 --- a/maintenance/migrateArchiveText.php +++ b/maintenance/migrateArchiveText.php @@ -24,7 +24,7 @@ require_once __DIR__ . '/Maintenance.php'; /** - * Maintenance script that migrates archive.ar_text and ar_flags to modern storage + * Maintenance script that migrates archive.ar_text and ar_flags to text storage * * @ingroup Maintenance * @since 1.31 @@ -33,7 +33,7 @@ class MigrateArchiveText extends LoggedUpdateMaintenance { public function __construct() { parent::__construct(); $this->addDescription( - 'Migrates comments from pre-1.5 ar_text and ar_flags columns to modern storage' + 'Migrates content from pre-1.5 ar_text and ar_flags columns to text storage' ); $this->addOption( 'replace-missing', @@ -98,9 +98,6 @@ class MigrateArchiveText extends LoggedUpdateMaintenance { if ( $wgDefaultExternalStore ) { $data = ExternalStore::insertToDefault( $data ); - if ( !$data ) { - throw new MWException( "Unable to store text to external storage" ); - } if ( $flags ) { $flags .= ','; }