mediawiki-extensions-AbuseF.../includes/AbuseFilterSuppressLogFormatter.php

17 lines
302 B
PHP
Raw Normal View History

<?php
class AbuseFilterSuppressLogFormatter extends LogFormatter {
/**
* @return string
*/
protected function getMessageKey() {
if ( $this->entry->getSubtype() === 'unhide-afl' ) {
return 'abusefilter-log-entry-unsuppress';
} else {
return 'abusefilter-log-entry-suppress';
}
}
}