X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FupdateArticleCount.php;h=dff5aec8e469e60e4cb54356bbd226409c2d9862;hb=f7429252f85c5835b291def55fc04b8196c1bb39;hp=baba6c8d12bed7c34c043bf2e48296391052837f;hpb=920c06e42c307fcaea47d9b65e09303aded2d1c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateArticleCount.php b/maintenance/updateArticleCount.php index baba6c8d12..dff5aec8e4 100644 --- a/maintenance/updateArticleCount.php +++ b/maintenance/updateArticleCount.php @@ -57,8 +57,8 @@ class UpdateArticleCount extends Maintenance { $dbw = $this->getDB( DB_MASTER ); $dbw->update( 'site_stats', - array( 'ss_good_articles' => $result ), - array( 'ss_row_id' => 1 ), + [ 'ss_good_articles' => $result ], + [ 'ss_row_id' => 1 ], __METHOD__ ); $this->output( "done.\n" );