dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop rc_cur_time from recentchanges
[lhc/web/wiklou.git]
/
maintenance
/
purgeList.php
diff --git
a/maintenance/purgeList.php
b/maintenance/purgeList.php
index
85a125f
..
2e19630
100644
(file)
--- a/
maintenance/purgeList.php
+++ b/
maintenance/purgeList.php
@@
-82,6
+82,8
@@
class PurgeList extends Maintenance {
/**
* Purge a namespace or all pages
/**
* Purge a namespace or all pages
+ *
+ * @param int|bool $namespace
*/
private function purgeNamespace( $namespace = false ) {
$dbr = wfGetDB( DB_SLAVE );
*/
private function purgeNamespace( $namespace = false ) {
$dbr = wfGetDB( DB_SLAVE );
@@
-118,7
+120,7
@@
class PurgeList extends Maintenance {
/**
* Helper to purge an array of $urls
/**
* 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' ) ) {
*/
private function sendPurgeRequest( $urls ) {
if ( $this->hasOption( 'delay' ) ) {
@@
-139,7
+141,6
@@
class PurgeList extends Maintenance {
$u->doUpdate();
}
}
$u->doUpdate();
}
}
-
}
$maintClass = "PurgeList";
}
$maintClass = "PurgeList";