This looks more correct to me:
Code:
if ($_REQUEST['do'] == 'ignoredthreadslist')
{
construct_usercp_nav('ignoredthreadslist');
$navbits[''] = $vbphrase['ignored_threads_list'];
$templater = vB_Template::create('usercp_ignoredthreadslist');
$templater->register_page_templates();
$templater->register('templatevar',$templatevar);
$templatename = $templater->render();
}
if ($_REQUEST['do'] == 'ignorethread' || $_REQUEST['do'] == 'unignorethread')
{
$templater = vB_Template::create('bogus');
$templater->register_page_templates();
$templater->register('templatevar',$templatevar);
$templatename = $templater->render();
}