X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=87a46998e2ac7b028ae94b924d9f7fb65786ed71;hb=72bd3d545eec00354d37679d4bb34827eb451466;hp=5a8ef90c0cf8cc5f5e4863a140d20b982abff702;hpb=4dc3ac1c375b3d2eb6172dfef8fdebe71b8c5f43;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' ) ) {