That method is no longer used in mojoPortal and was never expected to be used from custom code since the newsletter is an internal feature.
All of the other SiteUtils.AllowOnly...methods are also now marked as obsolete.
If you were calling this method from your custom code you should change it to this:
if (!WebUser.IsNewsletterAdmin)
{
SiteUtils.RedirectToAccessDeniedPage(this);
return;
}
if (!WebUser.IsNewsletterAdmin){ SiteUtils.RedirectToAccessDeniedPage(this); return;}
The problem with those SiteUtils methods is they do a hard redirect and this can cause thread abort exceptions.
Its possible to do soft redirects without threadabort exceptions using WebUtils.SetupRedirect(this, redirectUrl)
However when you do a soft redirect then you must call return; after setting up the redirect, otherwise the page code can keep executing even after the redirect.
Best,
Joe