Skip to content

Commit

Permalink
Merge pull request #6 from hallowelt/osnard-patch-1
Browse files Browse the repository at this point in the history
Remove environment check
  • Loading branch information
HamishSlater authored Feb 13, 2025
2 parents 2abd3a9 + 6c1ab77 commit 611bb96
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<?php

if ( !defined( 'MEDIAWIKI' ) && !defined( 'MW_PHPUNIT_TEST' ) ) {
return;
}

if ( defined( 'MWSTAKE_MEDIAWIKI_COMPONENT_NOTIFICATIONS_VERSION' ) ) {
return;
}

define( 'MWSTAKE_MEDIAWIKI_COMPONENT_NOTIFICATIONS_VERSION', '2.0.3' );
define( 'MWSTAKE_MEDIAWIKI_COMPONENT_NOTIFICATIONS_VERSION', '2.0.4' );

MWStake\MediaWiki\ComponentLoader\Bootstrapper::getInstance()
->register( 'notifications', static function () {
Expand Down

0 comments on commit 611bb96

Please sign in to comment.