summaryrefslogtreecommitdiffstats
path: root/admin/user
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-11 05:37:03 +0200
committerThomas Lange <code@nerdmind.de>2017-04-11 05:37:03 +0200
commitdd0433cf81fe5329b694a148191f09e427d4a56c (patch)
tree0bd9e44cbf17120027b33c4dd1ae6394c89c902a /admin/user
parent7a1b8f471ca133b6ca99cd4e440e6614a7c18537 (diff)
downloadblog-dd0433cf81fe5329b694a148191f09e427d4a56c.tar.gz
blog-dd0433cf81fe5329b694a148191f09e427d4a56c.tar.xz
blog-dd0433cf81fe5329b694a148191f09e427d4a56c.zip
Class "ExceptionHandler" has been removed and several files has been changed.
Diffstat (limited to 'admin/user')
-rw-r--r--admin/user/delete.php2
-rw-r--r--admin/user/index.php2
-rw-r--r--admin/user/insert.php2
-rw-r--r--admin/user/update.php2
4 files changed, 4 insertions, 4 deletions
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());
}
}