cosmetics

master
Jean-Christian Paul Denis 2021-10-24 09:33:44 +02:00
parent d2cc881914
commit 48e7041d14
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 6 additions and 5 deletions

View File

@ -26,7 +26,8 @@ if (version_compare($old_version, $new_version, '>=')) {
try { try {
# Check Dotclear version # Check Dotclear version
if (!method_exists('dcUtils', 'versionsCompare') if (!method_exists('dcUtils', 'versionsCompare')
|| dcUtils::versionsCompare(DC_VERSION, $dc_min, '<', false)) { || dcUtils::versionsCompare(DC_VERSION, $dc_min, '<', false)
) {
throw new Exception(sprintf( throw new Exception(sprintf(
'%s requires Dotclear %s', 'periodical', $dc_min '%s requires Dotclear %s', 'periodical', $dc_min
)); ));