foreach ( $this->ids as $timestamp ) {
$archiveNames[] = $timestamp . '!' . $this->title->getDBkey();
}
foreach ( $this->ids as $timestamp ) {
$archiveNames[] = $timestamp . '!' . $this->title->getDBkey();
}
'oi_name' => $this->title->getDBkey(),
'oi_archive_name' => $archiveNames
'oi_name' => $this->title->getDBkey(),
'oi_archive_name' => $archiveNames
- $this->deleteBatch = array();
- $this->storeBatch = array();
- $this->cleanupBatch = array();
+ $this->deleteBatch = [];
+ $this->storeBatch = [];
+ $this->cleanupBatch = [];
$file = wfLocalFile( $this->title );
$file->purgeCache();
$file->purgeDescription();
// Purge full images from cache
$file = wfLocalFile( $this->title );
$file->purgeCache();
$file->purgeDescription();
// Purge full images from cache
foreach ( $this->ids as $timestamp ) {
$archiveName = $timestamp . '!' . $this->title->getDBkey();
$file->purgeOldThumbnails( $archiveName );
foreach ( $this->ids as $timestamp ) {
$archiveName = $timestamp . '!' . $this->title->getDBkey();
$file->purgeOldThumbnails( $archiveName );