• 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 ?


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

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

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