X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpurgeList.php;h=2e1963097d8dc36b71bc9f14f864254d2139d331;hb=64717f414cdd66a27630b92539cde5456d622141;hp=85a125f6227c4351288ca63d1f10fae2610a780a;hpb=3ebdad5357013676ec08cae0d647811a1fd67d1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeList.php b/maintenance/purgeList.php index 85a125f622..2e1963097d 100644 --- a/maintenance/purgeList.php +++ b/maintenance/purgeList.php @@ -82,6 +82,8 @@ class PurgeList extends Maintenance { /** * Purge a namespace or all pages + * + * @param int|bool $namespace */ private function purgeNamespace( $namespace = false ) { $dbr = wfGetDB( DB_SLAVE ); @@ -118,7 +120,7 @@ class PurgeList extends Maintenance { /** * Helper to purge an array of $urls - * @param $urls array List of URLS to purge from squids + * @param array $urls List of URLS to purge from squids */ private function sendPurgeRequest( $urls ) { if ( $this->hasOption( 'delay' ) ) { @@ -139,7 +141,6 @@ class PurgeList extends Maintenance { $u->doUpdate(); } } - } $maintClass = "PurgeList";