Skip to content

Commit

Permalink
Released version 3.6.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Mar 20, 2023
1 parent 2396499 commit 44c58fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/module.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ author_link = "https://gitlab.com/Daniel-KM"
module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-ImageServer"
support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-ImageServer/-/issues"
configurable = true
version = "3.6.12.4"
version = "3.6.13"
omeka_version_constraint = "^3.1.0 || ^4.0.0"
dependencies = 'IiifServer'
6 changes: 3 additions & 3 deletions data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

if (version_compare($oldVersion, '3.6.3.3', '<')) {
$module = $services->get('Omeka\ModuleManager')->getModule('Generic');
if ($module && version_compare($module->getIni('version') ?? '', '3.3.27', '<')) {
if ($module && version_compare($module->getIni('version') ?? '', '3.4.43', '<')) {
$translator = $services->get('MvcTranslator');
$message = new \Omeka\Stdlib\Message(
$translator->translate('This module requires the module "%s", version %s or above.'), // @translate
'Generic', '3.3.27'
'Generic', '3.4.43'
);
throw new \Omeka\Module\Exception\ModuleCannotInstallException((string) $message);
}
Expand Down Expand Up @@ -125,7 +125,7 @@

if (version_compare($oldVersion, '3.6.10.3', '<')) {
$modules = [
['name' => 'Generic', 'version' => '3.3.34', 'required' => false],
['name' => 'Generic', 'version' => '3.4.43', 'required' => false],
['name' => 'ArchiveRepertory', 'version' => '3.15.4', 'required' => false],
['name' => 'IiifServer', 'version' => '3.6.6.6', 'required' => true],
];
Expand Down

0 comments on commit 44c58fc

Please sign in to comment.