Skip to content

Commit

Permalink
Admin - Add jLog about not correct module version found
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Mar 7, 2025
1 parent c8474da commit 9b01fcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lizmap/modules/admin/lib/ModulesInfo/ModulesChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ public function compareLizmapCoreModulesVersions($version)
$modules = $this->getList(false, true, false);
foreach ($modules as $module) {
if ($version != $module->version) {
\jLog::log(
'Found module "'.$module->slug.'" with version "'.$module->version.'", expected version "'.
$version.'".',
'error'
);

return false;
}
}
Expand Down

0 comments on commit 9b01fcc

Please sign in to comment.