From 6588acc2fd18b2ff0ccf7f22ed094881886ecf2e Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 13 May 2016 23:39:22 +0200 Subject: [PATCH] Revert the change, unneeded --- app/extensions/command/Update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ' .