diff options
Diffstat (limited to 'includes/logging/ManualLogEntry.php')
-rw-r--r-- | includes/logging/ManualLogEntry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/logging/ManualLogEntry.php b/includes/logging/ManualLogEntry.php index ccf03cfb2620..b6113e85bd0a 100644 --- a/includes/logging/ManualLogEntry.php +++ b/includes/logging/ManualLogEntry.php @@ -371,7 +371,7 @@ class ManualLogEntry extends LogEntryBase implements Taggable { * @since 1.23 */ public function getRecentChange( $newId = 0 ) { - $formatter = LogFormatter::newFromEntry( $this ); + $formatter = MediaWikiServices::getInstance()->getLogFormatterFactory()->newFromEntry( $this ); $context = RequestContext::newExtraneousContext( $this->getTarget() ); $formatter->setContext( $context ); |