From ccb6d625239b59b283b4d3fc00da704ab743d74c Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 8 Feb 2011 19:52:10 +0000 Subject: Refs #2543: Updated trunk mods and views to use the new functions from previous 2 commits. git-svn-id: http://code.elgg.org/elgg/trunk@8079 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/examples/events/advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/examples/events') diff --git a/documentation/examples/events/advanced.php b/documentation/examples/events/advanced.php index f566e0006..22a407579 100644 --- a/documentation/examples/events/advanced.php +++ b/documentation/examples/events/advanced.php @@ -5,6 +5,6 @@ elgg_register_event_handler('create', 'object', 'example_event_handler'); function example_event_handler($event, $type, $params) { // Don't allow any non-admin users to create objects // Returning false from this function will halt the creation of the object. - return isadminloggedin(); + return elgg_is_admin_logged_in(); } -- cgit v1.2.3