Public Member Functions | |
__construct (File $file, $reason= '', $suppress=false) | |
addCurrent () | |
addOld ($oldName) | |
getOldRels () | |
getHashes () | |
doDBInserts () | |
doDBDeletes () | |
execute () | |
Run the transaction. | |
Public Attributes | |
$file | |
$reason | |
$srcRels = array() | |
$archiveUrls = array() | |
$deletionBatch | |
$suppress | |
$status |
Definition at line 1207 of file LocalFile.php.
LocalFileDeleteBatch::__construct | ( | File $ | file, | |
$ | reason = '' , |
|||
$ | suppress = false | |||
) |
Definition at line 1211 of file LocalFile.php.
LocalFileDeleteBatch::addCurrent | ( | ) |
Definition at line 1218 of file LocalFile.php.
LocalFileDeleteBatch::addOld | ( | $ | oldName | ) |
Definition at line 1222 of file LocalFile.php.
LocalFileDeleteBatch::doDBDeletes | ( | ) |
Definition at line 1370 of file LocalFile.php.
References $dbw, and getOldRels().
Referenced by execute().
LocalFileDeleteBatch::doDBInserts | ( | ) |
Definition at line 1284 of file LocalFile.php.
References $dbw, $ext, $wgUser, Revision::DELETED_COMMENT, Revision::DELETED_RESTRICTED, Revision::DELETED_TEXT, Revision::DELETED_USER, and getOldRels().
Referenced by execute().
LocalFileDeleteBatch::execute | ( | ) |
Run the transaction.
Definition at line 1388 of file LocalFile.php.
References $dbw, $ext, $hashes, $key, $name, $res, $row, $status, $urls, $wgUser, $wgUseSquid, File::DELETED_FILE, doDBDeletes(), doDBInserts(), getHashes(), getOldRels(), SquidUpdate::purge(), wfProfileIn(), and wfProfileOut().
LocalFileDeleteBatch::getHashes | ( | ) |
Definition at line 1239 of file LocalFile.php.
References $dbw, $hashes, $name, $res, $row, and getOldRels().
Referenced by execute().
LocalFileDeleteBatch::getOldRels | ( | ) |
Definition at line 1227 of file LocalFile.php.
Referenced by doDBDeletes(), doDBInserts(), execute(), and getHashes().
LocalFileDeleteBatch::$archiveUrls = array() |
Definition at line 1208 of file LocalFile.php.
LocalFileDeleteBatch::$deletionBatch |
Definition at line 1208 of file LocalFile.php.
LocalFileDeleteBatch::$file |
Definition at line 1208 of file LocalFile.php.
LocalFileDeleteBatch::$reason |
Definition at line 1208 of file LocalFile.php.
LocalFileDeleteBatch::$srcRels = array() |
Definition at line 1208 of file LocalFile.php.
LocalFileDeleteBatch::$status |
LocalFileDeleteBatch::$suppress |
Definition at line 1208 of file LocalFile.php.