Skip to content

Commit

Permalink
Trigger installation of ps_eventbus during upgrade to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed Apr 22, 2021
1 parent ffb1b08 commit 8a076e7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions upgrade/upgrade-4.0.0.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

/**
* @param Ps_accounts $module
*/
function upgrade_module_4_0_0($module)
{
$moduleInstaller = $module->getService(\PrestaShop\Module\PsAccounts\Installer\Installer::class);

// Ignore fail on ps_eventbus install
$moduleInstaller->installModule('ps_eventbus');

return true;
}

0 comments on commit 8a076e7

Please sign in to comment.