aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page/delete.php')
-rw-r--r--admin/page/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/page/delete.php b/admin/page/delete.php
index 1406ece..69ad242 100644
--- a/admin/page/delete.php
+++ b/admin/page/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('page/'));
}
} catch(PDOException $Exception) {