Index: trunk/extensions/Collection/Collection.hooks.php |
— | — | @@ -52,10 +52,8 @@ |
53 | 53 | global $wgCollectionPortletForLoggedInUsersOnly; |
54 | 54 | |
55 | 55 | if ( !$wgCollectionPortletForLoggedInUsersOnly || $wgUser->isLoggedIn() ) { |
56 | | - if ( isset( $navUrls['print'] ) ) { |
57 | | - // We move this guy out to our own box |
58 | | - unset( $navUrls['print'] ); |
59 | | - } |
| 56 | + // We move this guy out to our own box |
| 57 | + $navUrls['print'] = false; |
60 | 58 | } |
61 | 59 | return true; |
62 | 60 | } |