Remove LogEventsList::showHeader() (deprecated since 1.19)
[lhc/web/wiklou.git] / includes / logging / LogEventsList.php
index cce902f..4ce8070 100644 (file)
@@ -31,7 +31,7 @@ class LogEventsList extends ContextSource {
        public $flags;
 
        /**
-        * @var Array
+        * @var array
         */
        protected $mDefaultQuery;
 
@@ -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
         *
@@ -276,7 +257,7 @@ class LogEventsList extends ContextSource {
        }
 
        /**
-        * @param $pattern
+        * @param string $pattern
         * @return string Checkbox
         */
        private function getTitlePattern( $pattern ) {