From dd0433cf81fe5329b694a148191f09e427d4a56c Mon Sep 17 00:00:00 2001
From: Thomas Lange <code@nerdmind.de>
Date: Tue, 11 Apr 2017 05:37:03 +0200
Subject: Class "ExceptionHandler" has been removed and several files has been
 changed.

---
 admin/auth.php        | 2 +-
 admin/database.php    | 2 +-
 admin/index.php       | 2 +-
 admin/page/delete.php | 2 +-
 admin/page/index.php  | 2 +-
 admin/page/insert.php | 2 +-
 admin/page/update.php | 2 +-
 admin/post/delete.php | 2 +-
 admin/post/index.php  | 2 +-
 admin/post/insert.php | 2 +-
 admin/post/update.php | 2 +-
 admin/user/delete.php | 2 +-
 admin/user/index.php  | 2 +-
 admin/user/insert.php | 2 +-
 admin/user/update.php | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)

(limited to 'admin')

diff --git a/admin/auth.php b/admin/auth.php
index dbdd3ef..2608171 100644
--- a/admin/auth.php
+++ b/admin/auth.php
@@ -80,7 +80,7 @@ try {
 # CATCH: Template\Exception
 #===============================================================================
 catch(Template\Exception $Exception) {
-	$Exception->defaultHandler();
+	Application::exit($Exception->getMessage());
 }
 ?>
 
diff --git a/admin/database.php b/admin/database.php
index 451e475..01c2dd7 100644
--- a/admin/database.php
+++ b/admin/database.php
@@ -47,6 +47,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/index.php b/admin/index.php
index c2ef0e0..0e59da1 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -83,6 +83,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/page/delete.php b/admin/page/delete.php
index 33d30a5..564273f 100644
--- a/admin/page/delete.php
+++ b/admin/page/delete.php
@@ -58,7 +58,7 @@ try {
 	# CATCH: Template\Exception
 	#===============================================================================
 	catch(Template\Exception $Exception) {
-		$Exception->defaultHandler();
+		Application::exit($Exception->getMessage());
 	}
 }
 
diff --git a/admin/page/index.php b/admin/page/index.php
index 9a9bdfa..9dd5da1 100644
--- a/admin/page/index.php
+++ b/admin/page/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/page/insert.php b/admin/page/insert.php
index f8a4cbf..367c154 100644
--- a/admin/page/insert.php
+++ b/admin/page/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/page/update.php b/admin/page/update.php
index 03f05ef..83a1e54 100644
--- a/admin/page/update.php
+++ b/admin/page/update.php
@@ -83,7 +83,7 @@ try {
 	# CATCH: Template\Exception
 	#===============================================================================
 	catch(Template\Exception $Exception) {
-		$Exception->defaultHandler();
+		Application::exit($Exception->getMessage());
 	}
 }
 
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());
 	}
 }
 
diff --git a/admin/user/delete.php b/admin/user/delete.php
index 5a1400a..00ae850 100644
--- a/admin/user/delete.php
+++ b/admin/user/delete.php
@@ -58,7 +58,7 @@ try {
 	# CATCH: Template\Exception
 	#===============================================================================
 	catch(Template\Exception $Exception) {
-		$Exception->defaultHandler();
+		Application::exit($Exception->getMessage());
 	}
 }
 
diff --git a/admin/user/index.php b/admin/user/index.php
index 5f43eee..4125801 100644
--- a/admin/user/index.php
+++ b/admin/user/index.php
@@ -67,6 +67,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/user/insert.php b/admin/user/insert.php
index 7c892d4..1e6aa41 100644
--- a/admin/user/insert.php
+++ b/admin/user/insert.php
@@ -73,6 +73,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/user/update.php b/admin/user/update.php
index 07965cd..0905791 100644
--- a/admin/user/update.php
+++ b/admin/user/update.php
@@ -76,7 +76,7 @@ try {
 # CATCH: Template\Exception
 #===============================================================================
 	catch(Template\Exception $Exception) {
-		$Exception->defaultHandler();
+		Application::exit($Exception->getMessage());
 	}
 }
 
-- 
cgit v1.2.3