aboutsummaryrefslogtreecommitdiff
path: root/services/api/rest_api.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/api/rest_api.php')
-rw-r--r--services/api/rest_api.php2
1 files changed, 1 insertions, 1 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');