Skip to content

Commit

Permalink
Added module routes hook registration on upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
L3RAZ committed Sep 20, 2024
1 parent 7a5b62b commit 687d0e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upgrade/upgrade-8.4.2.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
function upgrade_module_8_4_2_0($module)
{
try {
$module->registerHook('moduleRoutes');

$db = Db::getInstance();
$shopsList = \Shop::getShops(false, null, true);

Expand Down

0 comments on commit 687d0e9

Please sign in to comment.