Skip to content

Commit

Permalink
Released version 3.4.22.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Nov 25, 2024
1 parent b5674f7 commit 3483035
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/module.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ author_link = "https://gitlab.com/Daniel-KM"
module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-EasyAdmin"
support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-EasyAdmin/-/issues"
configurable = false
version = "3.4.21"
version = "3.4.22"
omeka_version_constraint = "^4.0.0"
dependencies = "Common"
15 changes: 15 additions & 0 deletions data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,18 @@
);
$messenger->addSuccess($message);
}

if (version_compare($oldVersion, '3.4.22', '<')) {
// Refresh the list of addons.
// The plugin is not available during install.
require_once __DIR__ . '/../../src/Mvc/Controller/Plugin/Addons.php';
$addons = new \EasyAdmin\Mvc\Controller\Plugin\Addons(
$services->get('Omeka\HttpClient')
);
$addons(true);

$message = new PsrMessage(
'It is now possible to install a curated selection of modules.' // @translate
);
$messenger->addSuccess($message);
}

0 comments on commit 3483035

Please sign in to comment.