From: cash Date: Sat, 25 Jun 2011 15:37:16 +0000 (-0400) Subject: Fixes #3609 removed use of deprecated trigger_plugin_hook() X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dbf3edd887ee26b85d609481ea9ee247f3d46ac3;p=lorea%2Felgg.git Fixes #3609 removed use of deprecated trigger_plugin_hook() --- diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 8fc1e46cb..5b78f5db5 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -851,7 +851,7 @@ abstract class ElggEntity extends ElggData implements */ function countComments() { $params = array('entity' => $this); - $num = trigger_plugin_hook('comments:count', $this->getType(), $params); + $num = elgg_trigger_plugin_hook('comments:count', $this->getType(), $params); if (is_int($num)) { return $num;