From dbf3edd887ee26b85d609481ea9ee247f3d46ac3 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 25 Jun 2011 11:37:16 -0400 Subject: Fixes #3609 removed use of deprecated trigger_plugin_hook() --- engine/classes/ElggEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; -- cgit v1.2.3