aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/extender.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r--engine/lib/extender.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php
index a67f29a68..b894c5e59 100644
--- a/engine/lib/extender.php
+++ b/engine/lib/extender.php
@@ -155,7 +155,7 @@ function can_edit_extender($extender_id, $type, $user_guid = 0) {
// Trigger plugin hooks
$params = array('entity' => $entity, 'user' => $user);
- return trigger_plugin_hook('permissions_check', $type, $params, false);
+ return elgg_trigger_plugin_hook('permissions_check', $type, $params, false);
}
/**
@@ -236,4 +236,4 @@ function get_extender_url(ElggExtender $extender) {
}
/** Register the hook */
-register_plugin_hook("import", "all", "import_extender_plugin_hook", 2); \ No newline at end of file
+elgg_register_plugin_hook_handler("import", "all", "import_extender_plugin_hook", 2); \ No newline at end of file