From dd0433cf81fe5329b694a148191f09e427d4a56c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 05:37:03 +0200 Subject: Class "ExceptionHandler" has been removed and several files has been changed. --- admin/post/delete.php | 2 +- admin/post/index.php | 2 +- admin/post/insert.php | 2 +- admin/post/update.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'admin/post') diff --git a/admin/post/delete.php b/admin/post/delete.php index f271364..af049fa 100644 --- a/admin/post/delete.php +++ b/admin/post/delete.php @@ -58,7 +58,7 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } } diff --git a/admin/post/index.php b/admin/post/index.php index ad735cd..e3f0a9d 100644 --- a/admin/post/index.php +++ b/admin/post/index.php @@ -71,6 +71,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/admin/post/insert.php b/admin/post/insert.php index baeacd3..ded732d 100644 --- a/admin/post/insert.php +++ b/admin/post/insert.php @@ -81,6 +81,6 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } ?> \ No newline at end of file diff --git a/admin/post/update.php b/admin/post/update.php index 37dccfe..7b14cee 100644 --- a/admin/post/update.php +++ b/admin/post/update.php @@ -83,7 +83,7 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } } -- cgit v1.2.3