if ($this->_input->filterSingle('list_only', XenForo_Input::UINT))
{
$users = $this->_getUserModel()->getUsersForEmailList($criteriaPrepared);
if (!$users)
{
return $this->responseError(new XenForo_Phrase('no_users_matched_specified_criteria'));
}
$viewParams = array(
'users' => $users
);
return $this->responseView('XenForo_ViewAdmin_User_EmailList', 'user_email_list', $viewParams);
}