From: umherirrender Date: Mon, 30 Nov 2015 17:44:30 +0000 (+0100) Subject: Remove uncalled Skin::getNamespaceNotice X-Git-Tag: 1.31.0-rc.0~8696^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=7f9d003f92f1fdd6c7b27524bce8b0b531602429;p=lhc%2Fweb%2Fwiklou.git Remove uncalled Skin::getNamespaceNotice Found no caller in git extensions Change-Id: I7567582924757b97b94f757170bc67b18e4ca089 --- 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 *