aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/actions/archive.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent/actions/archive.php')
-rw-r--r--mod/reportedcontent/actions/archive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/reportedcontent/actions/archive.php b/mod/reportedcontent/actions/archive.php
index 3bd10f520..231ebdd35 100644
--- a/mod/reportedcontent/actions/archive.php
+++ b/mod/reportedcontent/actions/archive.php
@@ -15,7 +15,7 @@ $guid = (int) get_input('item');
$report = get_entity($guid);
if ($report->getSubtype() == "reported_content" && $report->canEdit()) {
// change the state
- if (!trigger_plugin_hook('reportedcontent:archive', 'system', array('report'=>$report), TRUE)) {
+ if (!elgg_trigger_plugin_hook('reportedcontent:archive', 'system', array('report'=>$report), TRUE)) {
system_message(elgg_echo("reportedcontent:notarchived"));
forward('pg/admin/reportedcontent');
}