diff options
author | cash <cash.costello@gmail.com> | 2011-06-25 11:37:16 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-06-25 11:37:16 -0400 |
commit | dbf3edd887ee26b85d609481ea9ee247f3d46ac3 (patch) | |
tree | c7cb488658c9f66736352411ad4fe4e397db7f05 /engine/classes | |
parent | d58c007da1215a9b9da2d8bc41c4e66471269108 (diff) | |
download | elgg-dbf3edd887ee26b85d609481ea9ee247f3d46ac3.tar.gz elgg-dbf3edd887ee26b85d609481ea9ee247f3d46ac3.tar.bz2 |
Fixes #3609 removed use of deprecated trigger_plugin_hook()
Diffstat (limited to 'engine/classes')
-rw-r--r-- | engine/classes/ElggEntity.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |