fix netrevienws call static
This commit is contained in:
parent
69fe434f77
commit
6d79bcf3eb
@ -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);
|
||||
}
|
||||
|
@ -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]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user