X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=maintenance%2FpurgeList.php;h=2e1963097d8dc36b71bc9f14f864254d2139d331;hb=ea3646b476fa588a2166d792ca26a5c802545362;hp=85a125f6227c4351288ca63d1f10fae2610a780a;hpb=90892321696451fb444ce2d70b434e91b8a4fc69;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";