Remove debug code

This commit is contained in:
Hypolite Petovan 2018-01-07 10:02:21 -05:00
parent ca77bff933
commit 5605bdd289

View file

@ -1203,7 +1203,7 @@ function put_item_in_cache(&$item, $update = false)
{
$rendered_hash = defaults($item, 'rendered-hash', '');
if (true || $rendered_hash == ''
if ($rendered_hash == ''
|| $item["rendered-html"] == ""
|| $rendered_hash != hash("md5", $item["body"])
|| Config::get("system", "ignore_cache")