MediaWiki REL1_37
NullFileJournal.php
Go to the documentation of this file.
1<?php
7 public function __construct() {
8 // No-op
9 }
10
17 protected function doLogChangeBatch( array $entries, $batchId ) {
18 return StatusValue::newGood();
19 }
20
25 protected function doGetCurrentPosition() {
26 return false;
27 }
28
34 protected function doGetPositionAtTime( $time ) {
35 return false;
36 }
37
44 protected function doGetChangeEntries( $start, $limit ) {
45 return [];
46 }
47
52 protected function doPurgeOldLogs() {
53 return StatusValue::newGood();
54 }
55}
Class for handling file operation journaling.
Simple version of FileJournal that does nothing.
doGetPositionAtTime( $time)
doLogChangeBatch(array $entries, $batchId)
doGetChangeEntries( $start, $limit)