Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Sep 13, 2024
1 parent 2ebfe86 commit 40f75e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,6 @@ public function init(): void
});

Craft::setAlias('@commerceLib', Craft::getAlias('@craft/commerce/../lib'));
Event::on(Elements::class, Elements::EVENT_REGISTER_ELEMENT_TYPES, function(RegisterComponentTypesEvent $event) {
$event->types[] = Transfer::class;
});
}

/**
Expand Down Expand Up @@ -922,6 +919,7 @@ private function _registerElementTypes(): void
$e->types[] = Order::class;
$e->types[] = Subscription::class;
$e->types[] = Donation::class;
$e->types[] = Transfer::class;
});
}

Expand Down

0 comments on commit 40f75e1

Please sign in to comment.