X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FinitSiteStats.php;h=297544dcbf9643d1b3c5077c8cd59da304e1d3b9;hb=e9d42c0e7ea9390f650de8e350a4f64ff19787b0;hp=7e62b89f481c5ea39e4bb5e353cd5488c9e3e0d7;hpb=a4b114b3eb773252851d7a8a931c75461ee7a3fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/initSiteStats.php b/maintenance/initSiteStats.php index 7e62b89f48..297544dcbf 100644 --- a/maintenance/initSiteStats.php +++ b/maintenance/initSiteStats.php @@ -63,6 +63,9 @@ class InitSiteStats extends Maintenance { $this->output( "\nUpdating site statistics..." ); $counter->refresh(); $this->output( "done.\n" ); + } else { + $this->output( "\nTo update the site statistics table, run the script " + . "with the --update option.\n" ); } if ( $this->hasOption( 'active' ) ) { @@ -75,5 +78,5 @@ class InitSiteStats extends Maintenance { } } -$maintClass = "InitSiteStats"; +$maintClass = InitSiteStats::class; require_once RUN_MAINTENANCE_IF_MAIN;