MediaWiki
REL1_21
|
Maintenance script that scans the deletion log and purges affected files within a timeframe. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
purgeFromArchiveTable (LocalFile $file) | |
purgeFromLogType ($logType) |
Maintenance script that scans the deletion log and purges affected files within a timeframe.
Definition at line 32 of file purgeDeletedFiles.php.
Reimplemented from Maintenance.
Definition at line 33 of file purgeDeletedFiles.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 40 of file purgeDeletedFiles.php.
References Maintenance\output(), and purgeFromLogType().
PurgeDeletedFiles::purgeFromArchiveTable | ( | LocalFile $ | file | ) | [protected] |
Definition at line 82 of file purgeDeletedFiles.php.
References $res, array(), as, File\getName(), File\getRepo(), and LocalFile\purgeOldThumbnails().
Referenced by purgeFromLogType().
PurgeDeletedFiles::purgeFromLogType | ( | $ | logType | ) | [protected] |
Definition at line 50 of file purgeDeletedFiles.php.
References $file, $res, array(), as, Maintenance\getOption(), Title\makeTitle(), Maintenance\output(), purgeFromArchiveTable(), and RepoGroup\singleton().
Referenced by execute().