MediaWiki
REL1_24
|
Maintenance script that prunes file cache for pages, objects, resources, etc. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
prune_directory ($dir, $report=false) | |
Protected Attributes | |
$minSurviveTimestamp |
Maintenance script that prunes file cache for pages, objects, resources, etc.
Definition at line 31 of file pruneFileCache.php.
Reimplemented from Maintenance.
Definition at line 35 of file pruneFileCache.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 42 of file pruneFileCache.php.
References $dir, Maintenance\error(), Maintenance\getOption(), global, Maintenance\output(), and prune_directory().
PruneFileCache::prune_directory | ( | $ | dir, |
$ | report = false |
||
) | [protected] |
string | $dir | |
string | bool | $report | Use 'report' to report the directories being scanned |
Definition at line 81 of file pruneFileCache.php.
References $dir, $file, $path, and Maintenance\output().
Referenced by execute().
PruneFileCache::$minSurviveTimestamp [protected] |
Definition at line 33 of file pruneFileCache.php.