aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/api/rest_api.php2
-rw-r--r--services/export/handler.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/services/api/rest_api.php b/services/api/rest_api.php
index 0f693117c..4cee374d6 100644
--- a/services/api/rest_api.php
+++ b/services/api/rest_api.php
@@ -26,7 +26,7 @@ if ((isset($CONFIG->disable_api)) && ($CONFIG->disable_api == true)) {
}
// plugins should return true to control what API and user authentication handlers are registered
-if (trigger_plugin_hook('rest', 'init', null, false) == false) {
+if (elgg_trigger_plugin_hook('rest', 'init', null, false) == false) {
// for testing from a web browser, you can use the session PAM
// do not use for production sites!!
//register_pam_handler('pam_auth_session');
diff --git a/services/export/handler.php b/services/export/handler.php
index 9ce1419df..81d4222e5 100644
--- a/services/export/handler.php
+++ b/services/export/handler.php
@@ -73,7 +73,7 @@ if (($guid != "") && ($type == "") && ($id_or_name == "")) {
$r = get_relationship($id_or_name);
break;
case 'volatile' :
- $m = trigger_plugin_hook('volatile', 'metadata',
+ $m = elgg_trigger_plugin_hook('volatile', 'metadata',
array('guid' => $guid, 'varname' => $id_or_name));
break;