X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=f07bc5526f12e14b69ce982bbc0a2c0a8bcb6c68;hb=47838dfd6d6f62ba5cc8b5f0140f325418eada3a;hp=f2a00078e8efdfe4cbbae244cb96c6eb0ba150a8;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateCategory.php b/maintenance/populateCategory.php index f2a00078e8..f07bc5526f 100644 --- a/maintenance/populateCategory.php +++ b/maintenance/populateCategory.php @@ -133,20 +133,14 @@ TEXT usleep( $throttle * 1000 ); } - if ( $dbw->insert( + $dbw->insert( 'updatelog', [ 'ul_key' => 'populate category' ], __METHOD__, 'IGNORE' - ) ) { - $this->output( "Category population complete.\n" ); - - return true; - } else { - $this->output( "Could not insert category population row.\n" ); + ); - return false; - } + return true; } }