Woops, fix bug with last commit when the number of rows <= 2.
[lhc/web/wiklou.git] / includes / SkinTemplate.php
index 6145e9d..791137b 100644 (file)
@@ -893,13 +893,6 @@ class SkinTemplate extends Skin {
                                );
                }
 
-               if( $this->mTitle->getNamespace() == NS_CATEGORY || $this->mTitle->getNamespace() == NS_CATEGORY_TALK ) {
-                       $nav_urls['randomincategory'] = array(
-                               'text' => wfMsg( 'randomincategory-toolbox' ),
-                               'href' => self::makeSpecialUrlSubpage( 'Randomincategory', $this->mTitle->getText() ),
-                       );
-               }
-
                if( $this->mTitle->getNamespace() == NS_USER || $this->mTitle->getNamespace() == NS_USER_TALK ) {
                        $id = User::idFromName($this->mTitle->getText());
                        $ip = User::isIP($this->mTitle->getText());
@@ -1204,3 +1197,4 @@ class QuickTemplate {
 }
 
 
+