Skip to content

Commit

Permalink
Merge pull request #980 from hhunderter/bs5-update
Browse files Browse the repository at this point in the history
Layout ilchCore Überprüfung bei Updateserver
  • Loading branch information
hhunderter authored Jun 4, 2024
2 parents 251e229 + 13c60c8 commit 2d95d61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/modules/admin/views/admin/layouts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
foreach ($layoutsOnUpdateServer as $layoutOnUpdateServer) {
if ($layoutOnUpdateServer->key == $layout->getKey()) {
$layoutOnUpdateServerFound = $layoutOnUpdateServer;

$ilchCoreTooOld = version_compare($coreVersion, $layoutOnUpdateServer->ilchCore, '<');
$layoutTooOld = version_compare('2.2.0', $layoutOnUpdateServer->ilchCore, '>');
break;
}
}
Expand Down

0 comments on commit 2d95d61

Please sign in to comment.