Skip to content

Commit

Permalink
[4.0] Recreate namespace map on Joomla! update (#36094)
Browse files Browse the repository at this point in the history
* Recreate namespace map on Joomla update

* CS
  • Loading branch information
joomdonation authored Nov 25, 2021
1 parent 93dc176 commit d66de71
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,9 @@ public function finaliseUpgrade()
return false;
}

// Re-create namespace map. It is needed when updating to a Joomla! version has new extension added
(new \JNamespacePsr4Map)->create();

$installer->manifest = $manifest;

$installer->setUpgrade(true);
Expand Down

0 comments on commit d66de71

Please sign in to comment.