diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-19 00:36:30 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-19 00:36:30 +0200 |
commit | 84455052b4f2aa90f12e83a60acd896301512357 (patch) | |
tree | ddad05c0fe864eef1f7b331c65ce833f0aba2fd6 /admin/page/delete.php | |
parent | dbf523c2771aecd8294cc48e0301876f5d2a7a94 (diff) | |
download | blog-84455052b4f2aa90f12e83a60acd896301512357.tar.gz blog-84455052b4f2aa90f12e83a60acd896301512357.tar.xz blog-84455052b4f2aa90f12e83a60acd896301512357.zip |
Rename CRUD methods of Attribute class
Diffstat (limited to 'admin/page/delete.php')
-rw-r--r-- | admin/page/delete.php | 2 |
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) { |