Skip to content

Commit

Permalink
refactor: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
aragon999 committed Aug 6, 2023
1 parent 60b5ebf commit dc81db2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions engine/Shopware/Components/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,6 @@ public function Export()
*/
private function loadModule(string $name): void
{
if (isset($this->modules_container[$name])) {
return;
}

$this->modules_container[$name] = null;
/** @var class-string $name */
$name = basename($name);

if ($name === 'sSystem') {
$this->modules_container[$name] = $this->system;

Expand Down

0 comments on commit dc81db2

Please sign in to comment.