Remove useless block of code (this is already implemented in rewrite.php)

feature/node-rewrite
Sven Slootweg 12 years ago
parent f4d4008905
commit f948daf84f

@ -52,14 +52,6 @@ try
'suspended' => $sSuspended 'suspended' => $sSuspended
)); ));
} }
catch (InsufficientAccessLevelException $e)
{
/* TODO: Is this really necessary? */
$sMainContents .= NewTemplater::Render("{$sTheme}/shared/error/error", $locale->strings, array(
'title' => $locale->strings['error-unauthorized-title'],
'message' => $locale->strings['error-unauthorized-text']
));
}
catch (NotFoundException $e) catch (NotFoundException $e)
{ {
$sMainContents .= NewTemplater::Render("{$sTheme}/shared/error/error", $locale->strings, array( $sMainContents .= NewTemplater::Render("{$sTheme}/shared/error/error", $locale->strings, array(

Loading…
Cancel
Save