fix netrevienws call static

This commit is contained in:
ToutPratique 2016-11-22 12:39:02 +01:00
parent 69fe434f77
commit 6d79bcf3eb
2 changed files with 3 additions and 2 deletions

View File

@ -929,7 +929,7 @@ class NetReviews extends Module
}
}
public static function clearCache($id_product)
public function clearCache($id_product)
{
$this->_clearCache('avisverifies-listing.tpl', $this->getCacheId('avisverifies-listing'), $id_product);
}

View File

@ -1059,7 +1059,8 @@ function setProductsReviews(&$post_data)
}
// delete cache presta
NetReviews::clearCache((int) $arra_column[4]);
$module_net_reviews = new NetReviews();
$module_net_reviews->clearCache((int) $arra_column[4]);
}
}