From: Ilmari Karonen Date: Mon, 14 May 2007 07:40:10 +0000 (+0000) Subject: It's dead code, Jim! X-Git-Tag: 1.31.0-rc.0~52923 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=d0fcb1af799579e1001382dfeb31cd6e85acd660;p=lhc%2Fweb%2Fwiklou.git It's dead code, Jim! --- diff --git a/includes/Skin.php b/includes/Skin.php index c038738fb7..e53d579200 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1428,29 +1428,6 @@ END; return $s; } - function dateLink() { - $t1 = Title::newFromText( gmdate( 'F j' ) ); - $t2 = Title::newFromText( gmdate( 'Y' ) ); - - $id = $t1->getArticleID(); - - if ( 0 == $id ) { - $s = $this->makeBrokenLink( $t1->getText() ); - } else { - $s = $this->makeKnownLink( $t1->getText() ); - } - $s .= ', '; - - $id = $t2->getArticleID(); - - if ( 0 == $id ) { - $s .= $this->makeBrokenLink( $t2->getText() ); - } else { - $s .= $this->makeKnownLink( $t2->getText() ); - } - return $s; - } - function talkLink() { global $wgTitle;