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
with something more convenient like
... which I did not find.
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.