aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user/delete.php')
-rw-r--r--admin/user/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/user/delete.php b/admin/user/delete.php
index 18a57cf..5bc2aa5 100644
--- a/admin/user/delete.php
+++ b/admin/user/delete.php
@@ -19,7 +19,7 @@ try {
if(HTTP::issetPOST(['token' => Application::getSecurityToken()], 'delete')) {
try {
- if($Attribute->databaseDELETE($Database)) {
+ if($Attribute->delete($Database)) {
HTTP::redirect(Application::getAdminURL('user/'));
}
} catch(PDOException $Exception) {