X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfixExtLinksProtocolRelative.php;h=c70b8be7c952a3eaf80141c2c313dd7d3c62164a;hb=a7e2b91b2c72f3522a7a9c3c957a43309e70b92e;hp=0fae63c3bf2441ad9b3dc52cb7882d0418a68e30;hpb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;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;