dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Exclude redirects from Special:Fewestrevisions"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
LocalFileDeleteBatch.php
diff --git
a/includes/filerepo/file/LocalFileDeleteBatch.php
b/includes/filerepo/file/LocalFileDeleteBatch.php
index
d447945
..
61faa09
100644
(file)
--- a/
includes/filerepo/file/LocalFileDeleteBatch.php
+++ b/
includes/filerepo/file/LocalFileDeleteBatch.php
@@
-22,6
+22,7
@@
*/
use MediaWiki\MediaWikiServices;
*/
use MediaWiki\MediaWikiServices;
+use MediaWiki\Storage\RevisionRecord;
/**
* Helper class for file deletion
/**
* Helper class for file deletion
@@
-195,7
+196,7
@@
class LocalFileDeleteBatch {
// Bitfields to further suppress the content
if ( $this->suppress ) {
// Bitfields to further suppress the content
if ( $this->suppress ) {
- $bitfield = Revision::SUPPRESSED_ALL;
+ $bitfield = Revision
Record
::SUPPRESSED_ALL;
} else {
$bitfield = 'oi_deleted';
}
} else {
$bitfield = 'oi_deleted';
}