Index: trunk/extensions/Notificator/Notificator.body.php |
— | — | @@ -1,10 +1,5 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
5 | | - echo "Not a valid entry point"; |
6 | | - exit( 1 ); |
7 | | -} |
8 | | - |
9 | 4 | class Notificator { |
10 | 5 | |
11 | 6 | public static function notificator_Render( $parser, $receiver = '', $receiverLabel = '' ) { |
Index: trunk/extensions/Notificator/SpecialNotificator.php |
— | — | @@ -1,10 +1,5 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
5 | | - echo "Not a valid entry point"; |
6 | | - exit( 1 ); |
7 | | -} |
8 | | - |
9 | 4 | class SpecialNotificator extends SpecialPage { |
10 | 5 | |
11 | 6 | function __construct() { |