aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 0cd03469d..9cb04fc44 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -108,7 +108,7 @@ function auth_setup() {
'sticky' => $INPUT->bool('r'),
'silent' => $INPUT->bool('http_credentials')
);
- trigger_event('AUTH_LOGIN_CHECK', $evdata, 'auth_login_wrapper');
+ Event::createAndTrigger('AUTH_LOGIN_CHECK', $evdata, 'auth_login_wrapper');
}
//load ACL into a global array XXX
@@ -583,7 +583,7 @@ function auth_aclcheck($id, $user, $groups) {
'groups' => $groups
);
- return trigger_event('AUTH_ACL_CHECK', $data, 'auth_aclcheck_cb');
+ return Event::createAndTrigger('AUTH_ACL_CHECK', $data, 'auth_aclcheck_cb');
}
/**