aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/events/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/examples/events/all.php')
-rw-r--r--documentation/examples/events/all.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/examples/events/all.php b/documentation/examples/events/all.php
index 63959a9d2..238178312 100644
--- a/documentation/examples/events/all.php
+++ b/documentation/examples/events/all.php
@@ -1,6 +1,6 @@
<?php
-register_elgg_event_handler('all', 'object', 'example_event_handler');
+elgg_register_event_handler('all', 'object', 'example_event_handler');
// This function will be called for any event of type 'object'
function example_event_handler($event, $type, $params) {