Skip to content

Commit

Permalink
Released version 3.4.39.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Feb 13, 2023
1 parent b2c1a13 commit 99d5a57
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/asset/vendor
/build
/cache
/language/debug.po
/language/debug.mo
/language/chef.po
Expand Down
6 changes: 4 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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-BulkImport"
support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-BulkImport/-/issues"
configurable = true
version = "3.4.38"
version = "3.4.39"
omeka_version_constraint = "^3.1.0 || ^4.0.0"
dependencies = "Log"
10 changes: 10 additions & 0 deletions data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,3 +711,13 @@
);
$messenger->addSuccess($message);
}

if (version_compare($oldVersion, '3.4.39', '<')) {
if (PHP_VERSION_ID < 70400) {
$message = new Message(
'Since version %s, this module requires php 7.4.', // @translate
'3.4.39'
);
throw new ModuleCannotInstallException((string) $message);
}
}
2 changes: 1 addition & 1 deletion data/scripts/upgrade_vocabulary.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
throw new ModuleCannotInstallException((string) new Message(
'This module requires module %s version %s or greater.', // @translate
'Generic',
'3.3.33'
'3.4.42'
));
}

Expand Down

0 comments on commit 99d5a57

Please sign in to comment.