diff --git a/app/extensions/command/Update.php b/app/extensions/command/Update.php index a154541c0..0ccc11b6f 100644 --- a/app/extensions/command/Update.php +++ b/app/extensions/command/Update.php @@ -127,7 +127,7 @@ class Update extends \app\extensions\console\Command $smarty = new SmartyBC(); $smarty->setCompileDir(NN_RES . DS . 'smarty' . DS . 'templates_c/'); $cleared = $smarty->clear_compiled_tpl(); - if ($cleared > 0) { + if ($cleared) { $this->out('The Smarty compiled template cache has been cleaned for you', 'primary'); } else { $this->out('You should clear your Smarty compiled template cache at: ' .