• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Usergroup Constants for Administrator = 3 ?

Marcus

Well-known member
#1
Is there a constant defining the administrator usergroup? In my addon Email Notification of ACP Log Errors I want to replace

Code:
$conditions['user_group_id'] = 3;
with something more convenient like

Code:
$conditions['user_group_id'] = XenForo_Application::get('usergroup')->admin
... which I did not find.