From 7f9d003f92f1fdd6c7b27524bce8b0b531602429 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Mon, 30 Nov 2015 18:44:30 +0100 Subject: [PATCH] Remove uncalled Skin::getNamespaceNotice Found no caller in git extensions Change-Id: I7567582924757b97b94f757170bc67b18e4ca089 --- includes/skins/Skin.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 08e4885b94..b9f9d3d30f 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -1518,24 +1518,6 @@ abstract class Skin extends ContextSource { return $notice; } - /** - * Get a notice based on page's namespace - * - * @return string HTML fragment - */ - function getNamespaceNotice() { - - $key = 'namespacenotice-' . $this->getTitle()->getNsText(); - $namespaceNotice = $this->getCachedNotice( $key ); - if ( $namespaceNotice && substr( $namespaceNotice, 0, 7 ) != '

<' ) { - $namespaceNotice = '

' . $namespaceNotice . '
'; - } else { - $namespaceNotice = ''; - } - - return $namespaceNotice; - } - /** * Get the site notice * -- 2.20.1