Index: trunk/extensions/CentralNotice/CentralNotice.php |
— | — | @@ -64,10 +64,6 @@ |
65 | 65 | // This setting is currently shared with CentralAuth extension. |
66 | 66 | $wgCentralAuthCookieDomain = ''; |
67 | 67 | |
68 | | -// Enable HideBanners Special Page |
69 | | -// Set to true on wikis with donation thank you pages. |
70 | | -$wgAllowHideBanners = false; |
71 | | - |
72 | 68 | $wgExtensionFunctions[] = 'efCentralNoticeSetup'; |
73 | 69 | |
74 | 70 | $wgExtensionCredits['other'][] = array( |
Index: trunk/extensions/CentralNotice/SpecialHideBanners.php |
— | — | @@ -13,8 +13,8 @@ |
14 | 14 | } |
15 | 15 | |
16 | 16 | function execute( $par ) { |
17 | | - global $wgAllowHideBanners, $wgRequest, $wgOut; |
18 | | - |
| 17 | + global $wgOut; |
| 18 | + |
19 | 19 | $this->setHideCookie(); |
20 | 20 | |
21 | 21 | $wgOut->disable(); |