blob: 3072bbcf9fcfcfde06d1fd82d40e883ffd897d96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
class DisableAccountLogFormatter extends LogFormatter {
protected function getMessageParameters() {
$params = parent::getMessageParameters();
if ( count( $params ) == 3 ) {
// Deal with old log entries which don't have this set (needed for GENDER support)
$params[3] = $this->entry->getTarget()->getRootText();
}
return $params;
}
}
|