Index: branches/wmf/1.16wmf4/extensions/CentralNotice/SpecialHideBanners.php |
— | — | @@ -15,17 +15,15 @@ |
16 | 16 | function execute( $par ) { |
17 | 17 | global $wgAllowHideBanners, $wgRequest, $wgOut; |
18 | 18 | |
19 | | - if ( $wgAllowHideBanners ) { |
20 | | - $this->setHideCookie(); |
| 19 | + $this->setHideCookie(); |
21 | 20 | |
22 | | - $wgOut->disable(); |
23 | | - wfResetOutputBuffers(); |
| 21 | + $wgOut->disable(); |
| 22 | + wfResetOutputBuffers(); |
24 | 23 | |
25 | | - header( 'Content-Type: image/png' ); |
26 | | - header( 'Cache-Control: no-cache' ); |
| 24 | + header( 'Content-Type: image/png' ); |
| 25 | + header( 'Cache-Control: no-cache' ); |
27 | 26 | |
28 | | - readfile( dirname( __FILE__ ) . '/1x1.png' ); |
29 | | - } |
| 27 | + readfile( dirname( __FILE__ ) . '/1x1.png' ); |
30 | 28 | } |
31 | 29 | |
32 | 30 | function setHideCookie() { |
Property changes on: branches/wmf/1.16wmf4/extensions/CentralNotice |
___________________________________________________________________ |
Modified: svn:mergeinfo |
33 | 31 | Merged /trunk/extensions/CentralNotice:r80150 |