diff options
Diffstat (limited to 'maintenance/pruneFileCache.php')
-rw-r--r-- | maintenance/pruneFileCache.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/maintenance/pruneFileCache.php b/maintenance/pruneFileCache.php index f1a1cfd4..e058e3ec 100644 --- a/maintenance/pruneFileCache.php +++ b/maintenance/pruneFileCache.php @@ -1,6 +1,6 @@ <?php /** - * Prune file cache for pages, objects, resources, ect... + * Prune file cache for pages, objects, resources, etc. * * 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 @@ -17,11 +17,17 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script that prunes file cache for pages, objects, resources, etc. + * + * @ingroup Maintenance + */ class PruneFileCache extends Maintenance { protected $minSurviveTimestamp; |