Skip to content

Commit

Permalink
chore: unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Aug 2, 2024
1 parent 0f0bc37 commit 4969063
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions framework/core/src/Extension/ExtensionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ public function register(): void
// below, so that extensions have a chance to register things on the
// container before the core boots up (and starts resolving services).
$this->container['flarum']->booting(function (Container $container) {
if (! $this->container->runningUnitTests()) {
/** @var ExtensionManager $manager */
$manager = $container->make('flarum.extensions');
/** @var ExtensionManager $manager */
$manager = $container->make('flarum.extensions');

$manager->extend($container);
}
$manager->extend($container);
});
}

Expand Down

0 comments on commit 4969063

Please sign in to comment.