Usergroup Constants for Administrator = 3 ?

Marcus

Well-known member
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.
 
Back
Top Bottom