Hygiene: Remove useless commented out code.
authorjdlrobson <jdlrobson@gmail.com>
Thu, 17 Jul 2014 21:12:08 +0000 (14:12 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Thu, 17 Jul 2014 21:12:08 +0000 (14:12 -0700)
Added in Thu May 10 17:51:44 2012
2 years later still commented.
Clearly not useful.

Change-Id: I07cd3853d40ff7a9710adff7c7d8ff8c9b717ff1

includes/SkinTemplate.php

index 97c0ec4..faf71aa 100644 (file)
@@ -359,13 +359,6 @@ class SkinTemplate extends Skin {
                $tpl->set( 'handheld', $request->getBool( 'handheld' ) );
                $tpl->setRef( 'loggedin', $this->loggedin );
                $tpl->set( 'notspecialpage', !$title->isSpecialPage() );
-               /* XXX currently unused, might get useful later
-               $tpl->set( 'editable', ( !$title->isSpecialPage() ) );
-               $tpl->set( 'exists', $title->getArticleID() != 0 );
-               $tpl->set( 'watch', $user->isWatched( $title ) ? 'unwatch' : 'watch' );
-               $tpl->set( 'protect', count( $title->isProtected() ) ? 'unprotect' : 'protect' );
-               $tpl->set( 'helppage', $this->msg( 'helppage' )->text() );
-               */
                $tpl->set( 'searchaction', $this->escapeSearchLink() );
                $tpl->set( 'searchtitle', SpecialPage::getTitleFor( 'Search' )->getPrefixedDBkey() );
                $tpl->set( 'search', trim( $request->getVal( 'search' ) ) );