X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=87a46998e2ac7b028ae94b924d9f7fb65786ed71;hb=10d1b7d12b5d097413cd507740c5c71781c2580b;hp=5a8ef90c0cf8cc5f5e4863a140d20b982abff702;hpb=fb25d9fe77207c86d3f99934c74d5a0fa96ef0a2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateCategory.php b/maintenance/populateCategory.php index 5a8ef90c0c..87a46998e2 100644 --- a/maintenance/populateCategory.php +++ b/maintenance/populateCategory.php @@ -79,7 +79,7 @@ TEXT $row = $dbw->selectRow( 'updatelog', '1', - array( 'ul_key' => 'populate category' ), + [ 'ul_key' => 'populate category' ], __METHOD__ ); if ( $row ) { @@ -106,9 +106,9 @@ TEXT 'cl_to', $where, __METHOD__, - array( + [ 'ORDER BY' => 'cl_to' - ) + ] ); if ( !$row ) { # Done, hopefully. @@ -135,7 +135,7 @@ TEXT if ( $dbw->insert( 'updatelog', - array( 'ul_key' => 'populate category' ), + [ 'ul_key' => 'populate category' ], __METHOD__, 'IGNORE' ) ) {