cosmetics
parent
d2cc881914
commit
48e7041d14
|
@ -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
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in New Issue