From c8f6c3c934df01bf969e3d91ae67f0887de10da9 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 10 Nov 2010 22:22:40 +0000 Subject: Fixes #2367: With fear and trepidation, converting events/plugin hooks to use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/reportedcontent/actions/add.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/reportedcontent/actions/add.php') diff --git a/mod/reportedcontent/actions/add.php b/mod/reportedcontent/actions/add.php index 0611f7402..138e66cb9 100644 --- a/mod/reportedcontent/actions/add.php +++ b/mod/reportedcontent/actions/add.php @@ -22,7 +22,7 @@ $report->access_id = $access; if ($report->save()) { - if (!trigger_plugin_hook('reportedcontent:add', 'system', array('report'=>$report), true)) { + if (!elgg_trigger_plugin_hook('reportedcontent:add', 'system', array('report'=>$report), true)) { $report->delete(); register_error(elgg_echo('reportedcontent:failed')); } else { -- cgit v1.2.3