Skip to content

Commit

Permalink
skip core modules
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Oct 25, 2023
1 parent dc96e92 commit 2a1f84b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Utilities/ModuleActivator.php
Expand Up @@ -117,6 +117,10 @@ public function readDatabase(): array
$modules = Model::companyId($this->company_id)->pluck('enabled', 'alias')->toArray();

foreach ($modules as $alias => $enabled) {
if (in_array($alias, ['offline-payments', 'paypal-standard'])) {
continue;
}

$subscription = $this->getSubscription($alias);

if (! is_object($subscription)) {
Expand Down

0 comments on commit 2a1f84b

Please sign in to comment.