X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2FfixExtLinksProtocolRelative.php;h=c70b8be7c952a3eaf80141c2c313dd7d3c62164a;hb=11ee7f78da9776db26098642a151a288f98bea14;hp=0fae63c3bf2441ad9b3dc52cb7882d0418a68e30;hpb=a5be382adfdad4678eec18413c6a118cb3284daf;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixExtLinksProtocolRelative.php b/maintenance/fixExtLinksProtocolRelative.php index 0fae63c3bf..c70b8be7c9 100644 --- a/maintenance/fixExtLinksProtocolRelative.php +++ b/maintenance/fixExtLinksProtocolRelative.php @@ -68,13 +68,11 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { $db->insert( 'externallinks', [ [ - 'el_id' => $db->nextSequenceValue( 'externallinks_el_id_seq' ), 'el_from' => $row->el_from, 'el_to' => $row->el_to, 'el_index' => "http:{$row->el_index}", ], [ - 'el_id' => $db->nextSequenceValue( 'externallinks_el_id_seq' ), 'el_from' => $row->el_from, 'el_to' => $row->el_to, 'el_index' => "https:{$row->el_index}", @@ -97,5 +95,5 @@ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { } } -$maintClass = "FixExtLinksProtocolRelative"; +$maintClass = FixExtLinksProtocolRelative::class; require_once RUN_MAINTENANCE_IF_MAIN;