Skip to content

Commit

Permalink
Updated Common version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Jul 22, 2024
1 parent e8afe35 commit 2bab49e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ protected function preInstall(): void
$services = $this->getServiceLocator();
$translate = $services->get('ControllerPluginManager')->get('translate');

if (!method_exists($this, 'checkModuleActiveVersion') || !$this->checkModuleActiveVersion('Common', '3.4.60')) {
if (!method_exists($this, 'checkModuleActiveVersion') || !$this->checkModuleActiveVersion('Common', '3.4.61')) {
$message = new \Omeka\Stdlib\Message(
$translate('The module %1$s should be upgraded to version %2$s or later.'), // @translate
'Common', '3.4.60'
'Common', '3.4.61'
);
throw new \Omeka\Module\Exception\ModuleCannotInstallException((string) $message);
}
Expand Down
4 changes: 2 additions & 2 deletions data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

$localConfig = include dirname(__DIR__, 2) . '/config/module.config.php';

if (!method_exists($this, 'checkModuleActiveVersion') || !$this->checkModuleActiveVersion('Common', '3.4.60')) {
if (!method_exists($this, 'checkModuleActiveVersion') || !$this->checkModuleActiveVersion('Common', '3.4.61')) {
$message = new \Omeka\Stdlib\Message(
$translate('The module %1$s should be upgraded to version %2$s or later.'), // @translate
'Common', '3.4.60'
'Common', '3.4.61'
);
throw new \Omeka\Module\Exception\ModuleCannotInstallException((string) $message);
}
Expand Down

0 comments on commit 2bab49e

Please sign in to comment.