X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpurgeList.php;h=d558c478e84cffe9dbafe02d5704d845172b028e;hb=a4d4f3764ba0a894aefcf18cb4acc99071bf3865;hp=8cf217f95f8c4a2ce35e2df58982edac4e847454;hpb=6f6e7d6dfd5b4c5cdb4f1e4f80be77dd8ad71b57;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeList.php b/maintenance/purgeList.php index 8cf217f95f..d558c478e8 100644 --- a/maintenance/purgeList.php +++ b/maintenance/purgeList.php @@ -1,6 +1,6 @@ addDescription( 'Send purge requests for listed pages to squid' ); + $this->addDescription( 'Send purge requests for listed pages to CDN' ); $this->addOption( 'purge', 'Whether to update page_touched.', false, false ); $this->addOption( 'namespace', 'Namespace number', false, true ); $this->addOption( 'all', 'Purge all pages', false, false ); @@ -120,7 +120,7 @@ class PurgeList extends Maintenance { /** * Helper to purge an array of $urls - * @param array $urls List of URLS to purge from squids + * @param array $urls List of URLS to purge from CDNs */ private function sendPurgeRequest( $urls ) { if ( $this->hasOption( 'delay' ) ) { @@ -143,5 +143,5 @@ class PurgeList extends Maintenance { } } -$maintClass = "PurgeList"; +$maintClass = PurgeList::class; require_once RUN_MAINTENANCE_IF_MAIN;