cosmetics
This commit is contained in:
parent
d2cc881914
commit
48e7041d14
2 changed files with 6 additions and 5 deletions
|
@ -26,7 +26,8 @@ if (version_compare($old_version, $new_version, '>=')) {
|
|||
try {
|
||||
# Check Dotclear version
|
||||
if (!method_exists('dcUtils', 'versionsCompare')
|
||||
|| dcUtils::versionsCompare(DC_VERSION, $dc_min, '<', false)) {
|
||||
|| dcUtils::versionsCompare(DC_VERSION, $dc_min, '<', false)
|
||||
) {
|
||||
throw new Exception(sprintf(
|
||||
'%s requires Dotclear %s', 'periodical', $dc_min
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue