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
Merge "Add option to expose original sha1 in thumb url"
[lhc/web/wiklou.git]
/
maintenance
/
eraseArchivedFile.php
diff --git
a/maintenance/eraseArchivedFile.php
b/maintenance/eraseArchivedFile.php
index
1c3f037
..
8fdcef3
100644
(file)
--- a/
maintenance/eraseArchivedFile.php
+++ b/
maintenance/eraseArchivedFile.php
@@
-27,7
+27,7
@@
require_once __DIR__ . '/Maintenance.php';
/**
* Maintenance script to delete archived (non-current) files from storage.
*
/**
* Maintenance script to delete archived (non-current) files from storage.
*
- * @
TODO:
Maybe add some simple logging
+ * @
todo
Maybe add some simple logging
*
* @ingroup Maintenance
* @since 1.22
*
* @ingroup Maintenance
* @since 1.22
@@
-73,7
+73,6
@@
class EraseArchivedFile extends Maintenance {
$this->output( "Purging all thumbnails for file '$filename'..." );
$file->purgeCache();
$this->output( "Purging all thumbnails for file '$filename'..." );
$file->purgeCache();
- $file->purgeHistory();
$this->output( "done.\n" );
if ( $afile instanceof ArchivedFile ) {
$this->output( "done.\n" );
if ( $afile instanceof ArchivedFile ) {