From 32a59567446d8063e4309450570eeee33b5083ae Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 27 Jan 2025 00:00:00 +0000 Subject: [PATCH] Released version 3.4.37. --- config/module.ini | 2 +- data/scripts/upgrade.php | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config/module.ini b/config/module.ini index 4800f4d..4f555bc 100644 --- a/config/module.ini +++ b/config/module.ini @@ -8,5 +8,5 @@ author_link = "https://gitlab.com/Daniel-KM" module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-AdvancedResourceTemplate" support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-AdvancedResourceTemplate/-/issues" configurable = false -version = "3.4.36" +version = "3.4.37" omeka_version_constraint = "^4.0.0" diff --git a/data/scripts/upgrade.php b/data/scripts/upgrade.php index 0729846..97b3743 100644 --- a/data/scripts/upgrade.php +++ b/data/scripts/upgrade.php @@ -623,3 +623,10 @@ $messenger->addWarning($message); } } + +if (version_compare((string) $oldVersion, '3.4.37', '<')) { + $message = new PsrMessage( + 'A new check can be done on the number of attached medias.' // @translate + ); + $messenger->addSuccess($message); +}