Revert r37686, 37687 for now:
[lhc/web/wiklou.git] / skins / Modern.php
index bfbc0a8..e75e4ae 100644 (file)
@@ -156,7 +156,7 @@ class ModernTemplate extends QuickTemplate {
                if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true;
                if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true;
                if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true;
-               
+
                foreach ($sidebar as $boxName => $cont) {
                        if ( $boxName == 'SEARCH' ) {
                                $this->searchBox();
@@ -165,10 +165,7 @@ class ModernTemplate extends QuickTemplate {
                        } elseif ( $boxName == 'LANGUAGES' ) {
                                $this->languageBox();
                        } else {
-                               if( wfRunHooks( 'SkinSidebarOutputSpecialBox', array( &$this, $boxName, $cont ) ) ) {
-                                       # If no hook returned false, then output a normal box
-                                       $this->customBox( $boxName, $cont );
-                               }
+                               $this->customBox( $boxName, $cont );
                        }
                }
        ?>
@@ -352,5 +349,4 @@ class ModernTemplate extends QuickTemplate {
        }
 
 } // end of class
-
-
+?>