MediaWiki
1.34.0
NullFileJournal.php
Go to the documentation of this file.
1
<?php
6
class
NullFileJournal
extends
FileJournal
{
13
protected
function
doLogChangeBatch
( array $entries, $batchId ) {
14
return
StatusValue::newGood
();
15
}
16
21
protected
function
doGetCurrentPosition
() {
22
return
false
;
23
}
24
30
protected
function
doGetPositionAtTime
( $time ) {
31
return
false
;
32
}
33
40
protected
function
doGetChangeEntries
( $start, $limit ) {
41
return
[];
42
}
43
48
protected
function
doPurgeOldLogs
() {
49
return
StatusValue::newGood
();
50
}
51
}
NullFileJournal\doGetChangeEntries
doGetChangeEntries( $start, $limit)
Definition:
NullFileJournal.php:40
NullFileJournal\doGetPositionAtTime
doGetPositionAtTime( $time)
Definition:
NullFileJournal.php:30
NullFileJournal\doGetCurrentPosition
doGetCurrentPosition()
Definition:
NullFileJournal.php:21
NullFileJournal
Simple version of FileJournal that does nothing.
Definition:
NullFileJournal.php:6
NullFileJournal\doLogChangeBatch
doLogChangeBatch(array $entries, $batchId)
Definition:
NullFileJournal.php:13
FileJournal
Class for handling file operation journaling.
Definition:
FileJournal.php:40
StatusValue\newGood
static newGood( $value=null)
Factory function for good results.
Definition:
StatusValue.php:81
NullFileJournal\doPurgeOldLogs
doPurgeOldLogs()
Definition:
NullFileJournal.php:48
includes
libs
filebackend
filejournal
NullFileJournal.php
Generated on Thu Dec 19 2019 14:54:26 for MediaWiki by
1.8.16