/**
* Send purge requests for pages edited in date range to squid/varnish.
*
- * @section LICENSE
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
}
// Send batch of purge requests out to squids
- $squid = new SquidUpdate( $urls, count( $urls ) );
+ $squid = new CdnCacheUpdate( $urls, count( $urls ) );
$squid->doUpdate();
if ( $this->hasOption( 'sleep-per-batch' ) ) {
*
* @param ResultWrapper $res Query result sorted by $column (ascending)
* @param string $column
+ * @param int $limit
* @return array (array of rows, string column value)
*/
protected function pageableSortedRows( ResultWrapper $res, $column, $limit ) {