From 91fc59e12d34937766cd6b8f98f9f8b2d0b9acc8 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Tue, 24 Jun 2014 20:05:44 +0200 Subject: [PATCH] Remove LogEventsList::showHeader() (deprecated since 1.19) Change-Id: I9575329cb09f495f47032028d3693f8046b3e139 --- RELEASE-NOTES-1.24 | 1 + includes/logging/LogEventsList.php | 19 ------------------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 8793fc9c19..129b6915f1 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -176,6 +176,7 @@ changes to languages because of Bugzilla reports. have since become subclasses of the Action class. (deprecated since 1.19) * SearchEngineReplacePrefixesComplete hook was removed. * Removed HTMLForm::addJS(). (deprecated since 1.18) +* Removed LogEventsList::showHeader(). (deprecated since 1.19) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/logging/LogEventsList.php b/includes/logging/LogEventsList.php index fda9a207c2..4ce80704e5 100644 --- a/includes/logging/LogEventsList.php +++ b/includes/logging/LogEventsList.php @@ -68,25 +68,6 @@ class LogEventsList extends ContextSource { return $this->getTitle(); } - /** - * Set page title and show header for this log type - * @param array $type - * @deprecated since 1.19 - */ - public function showHeader( $type ) { - wfDeprecated( __METHOD__, '1.19' ); - // If only one log type is used, then show a special message... - $headerType = count( $type ) == 1 ? $type[0] : ''; - $out = $this->getOutput(); - if ( LogPage::isLogType( $headerType ) ) { - $page = new LogPage( $headerType ); - $out->setPageTitle( $page->getName()->text() ); - $out->addHTML( $page->getDescription()->parseAsBlock() ); - } else { - $out->addHTML( $this->msg( 'alllogstext' )->parse() ); - } - } - /** * Show options for the log list * -- 2.20.1