[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> purgeChangedFiles.php (summary)

Scan the logging table and purge affected files within a timeframe.

File Size: 261 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

PurgeChangedFiles:: (6 methods):
  __construct()
  execute()
  purgeFromLogType()
  purgeFromArchiveTable()
  getDeletedPath()
  verbose()


Class: PurgeChangedFiles  - X-Ref

Maintenance script that scans the deletion log and purges affected files
within a timeframe.

__construct()   X-Ref


execute()   X-Ref
No description

purgeFromLogType( $type )   X-Ref
Purge cache and thumbnails for changes of the given type.

param: string $type Type of change to find

purgeFromArchiveTable( LocalRepo $repo, LocalFile $file )   X-Ref
No description

getDeletedPath( LocalRepo $repo, LocalFile $file )   X-Ref
No description

verbose( $msg )   X-Ref
Send an output message iff the 'verbose' option has been provided.

param: string $msg Message to output



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1