Revert r26762 -- destroys article and talk tab text. Reversed condition and/or genera...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 16 Oct 2007 20:29:11 +0000 (20:29 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 16 Oct 2007 20:29:11 +0000 (20:29 +0000)
includes/SkinTemplate.php

index 023385b..2114676 100644 (file)
@@ -602,12 +602,7 @@ class SkinTemplate extends Skin {
                        global $wgContLang;
                        $text = $wgContLang->getFormattedNsText( Namespace::getSubject( $title->getNamespace() ) );
                }
-               
-               $result = array();
-               if( wfRunHooks('SkinTemplateTabAction', array(&$this, $title, $message, $selected, $checkEdit,
-                               &$classes, &$query, &$text, &$result)) ) {
-                       return $result;
-               }
+
                return array(
                        'class' => implode( ' ', $classes ),
                        'text' => $text,