From 7ef7325335470d92b4a9c11e2b8bc7aebc1e794d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 19 May 2015 10:45:37 +0200 Subject: [PATCH] Don't catch ProgrammingError when the superclass Exception has already been caught refs #9003 --- application/controllers/DashboardController.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/application/controllers/DashboardController.php b/application/controllers/DashboardController.php index 8cc58203f..4558245a8 100644 --- a/application/controllers/DashboardController.php +++ b/application/controllers/DashboardController.php @@ -171,9 +171,6 @@ class DashboardController extends ActionController $action->view->config = $dashboardConfig; $action->render('error'); return false; - } catch (ProgrammingError $e) { - Notification::error($e->getMessage()); - return false; } return false; }); @@ -211,9 +208,6 @@ class DashboardController extends ActionController $action->view->config = $dashboardConfig; $action->render('error'); return false; - } catch (ProgrammingError $e) { - Notification::error($e->getMessage()); - return false; } return false; });