MediaWiki
REL1_24
|
Maintenance script to remove old or broken uploads from temporary uploaded file storage and clean up associated database records. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
doOperations (FileRepo $tempRepo, array $ops) |
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.
Reimplemented from Maintenance.
Definition at line 38 of file cleanupUploadStash.php.
References Maintenance\setBatchSize().
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().
Reimplemented from Maintenance.
Definition at line 44 of file cleanupUploadStash.php.
References $batch, $dbr, $dir, $file, $key, $keys, $res, $type, array(), as, doOperations(), Maintenance\error(), global, Maintenance\output(), RepoGroup\singleton(), and wfTimestamp().