MediaWiki  REL1_23
UploadStashCleanup Class Reference

Maintenance script to remove old or broken uploads from temporary uploaded file storage and clean up associated database records. More...

Inheritance diagram for UploadStashCleanup:
Collaboration diagram for UploadStashCleanup:

List of all members.

Public Member Functions

 __construct ()
 execute ()

Protected Member Functions

 doOperations (FileRepo $tempRepo, array $ops)

Detailed Description

Maintenance script to remove old or broken uploads from temporary uploaded file storage and clean up associated database records.

Definition at line 36 of file cleanupUploadStash.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 38 of file cleanupUploadStash.php.

References Maintenance\setBatchSize().


Member Function Documentation

UploadStashCleanup::doOperations ( FileRepo tempRepo,
array ops 
) [protected]

Definition at line 146 of file cleanupUploadStash.php.

References Maintenance\error(), FileRepo\getBackend(), and true.

Referenced by execute().


The documentation for this class was generated from the following file: