aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user')
-rw-r--r--admin/user/delete.php2
-rw-r--r--admin/user/index.php2
-rw-r--r--admin/user/update.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/user/delete.php b/admin/user/delete.php
index ed8f925..5a1400a 100644
--- a/admin/user/delete.php
+++ b/admin/user/delete.php
@@ -66,7 +66,7 @@ try {
# CATCH: User\Exception
#===============================================================================
catch(User\Exception $Exception) {
- Application::exit(404);
+ Application::error404();
}
?>
diff --git a/admin/user/index.php b/admin/user/index.php
index 3dca93a..5f43eee 100644
--- a/admin/user/index.php
+++ b/admin/user/index.php
@@ -19,7 +19,7 @@ $currentSite = HTTP::GET('site') ?? 1;
$currentSite = abs(intval($currentSite));
if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) {
- Application::exit(404);
+ Application::error404();
}
#===============================================================================
diff --git a/admin/user/update.php b/admin/user/update.php
index cab582e..07965cd 100644
--- a/admin/user/update.php
+++ b/admin/user/update.php
@@ -84,6 +84,6 @@ try {
# CATCH: User\Exception
#===============================================================================
catch(User\Exception $Exception) {
- Application::exit(404);
+ Application::error404();
}
?> \ No newline at end of file