]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3609 removed use of deprecated trigger_plugin_hook()
authorcash <cash.costello@gmail.com>
Sat, 25 Jun 2011 15:37:16 +0000 (11:37 -0400)
committercash <cash.costello@gmail.com>
Sat, 25 Jun 2011 15:37:16 +0000 (11:37 -0400)
engine/classes/ElggEntity.php

index 8fc1e46cb07d55079a0fd74d9c9b01014350bb45..5b78f5db53dbff2abb3ce5168fcd106ab53001a0 100644 (file)
@@ -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;