X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FshowSiteStats.php;h=1d3e43a1e9310db71388a42ec52cc89baa5ec7d2;hb=b8f17417968634b510397df120c5d5cf7fc54eab;hp=098aba56c4e525842d85ebeba68e2b5236eeffc0;hpb=b67ab9de01a2eb95875d27a26eb9c30b22edf97e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/showSiteStats.php b/maintenance/showSiteStats.php index 098aba56c4..1d3e43a1e9 100644 --- a/maintenance/showSiteStats.php +++ b/maintenance/showSiteStats.php @@ -43,14 +43,14 @@ class ShowSiteStats extends Maintenance { } public function execute() { - $fields = array( + $fields = [ 'ss_total_edits' => 'Total edits', 'ss_good_articles' => 'Number of articles', 'ss_total_pages' => 'Total pages', 'ss_users' => 'Number of users', 'ss_active_users' => 'Active users', 'ss_images' => 'Number of images', - ); + ]; // Get cached stats from slave database $dbr = $this->getDB( DB_SLAVE );