From f948daf84fbc7a58cf2459c5a8f566da408bcfa4 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 16 Dec 2012 02:38:20 +0100 Subject: [PATCH] Remove useless block of code (this is already implemented in rewrite.php) --- frontend/module.admin.container.suspend.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/module.admin.container.suspend.php b/frontend/module.admin.container.suspend.php index 1709fff..11dc260 100644 --- a/frontend/module.admin.container.suspend.php +++ b/frontend/module.admin.container.suspend.php @@ -52,14 +52,6 @@ try '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) { $sMainContents .= NewTemplater::Render("{$sTheme}/shared/error/error", $locale->strings, array(