Index: trunk/extensions/CentralNotice/SpecialBannerController.php |
— | — | @@ -4,7 +4,6 @@ |
5 | 5 | * Generates Javascript file which controls banner selection on the client side |
6 | 6 | */ |
7 | 7 | class SpecialBannerController extends UnlistedSpecialPage { |
8 | | - public $centralNoticeDB; |
9 | 8 | protected $sharedMaxAge = 7200; // Cache for 2 hours on the server side |
10 | 9 | protected $maxAge = 7200; // Cache for 2 hours on the client side |
11 | 10 | protected $contentType = 'text/javascript'; |
— | — | @@ -12,7 +11,6 @@ |
13 | 12 | function __construct() { |
14 | 13 | // Register special page |
15 | 14 | parent::__construct( "BannerController" ); |
16 | | - $this->centralNoticeDB = new CentralNoticeDB(); |
17 | 15 | } |
18 | 16 | |
19 | 17 | function execute( $par ) { |