diff options
Diffstat (limited to 'admin/post')
-rw-r--r-- | admin/post/delete.php | 2 | ||||
-rw-r--r-- | admin/post/insert.php | 2 | ||||
-rw-r--r-- | admin/post/update.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/post/delete.php b/admin/post/delete.php index 6da8a68..7d4ab10 100644 --- a/admin/post/delete.php +++ b/admin/post/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('post/')); } } catch(PDOException $Exception) { diff --git a/admin/post/insert.php b/admin/post/insert.php index 6065c95..5b2ec52 100644 --- a/admin/post/insert.php +++ b/admin/post/insert.php @@ -24,7 +24,7 @@ if(HTTP::issetPOST('id', 'user', 'slug', 'name', 'body', 'argv', 'time_insert', if(HTTP::issetPOST(['token' => Application::getSecurityToken()])) { try { - if($Attribute->databaseINSERT($Database)) { + if($Attribute->insert($Database)) { HTTP::redirect(Application::getAdminURL('post/')); } } catch(PDOException $Exception) { diff --git a/admin/post/update.php b/admin/post/update.php index d7778f8..6fb621d 100644 --- a/admin/post/update.php +++ b/admin/post/update.php @@ -28,7 +28,7 @@ try { if(HTTP::issetPOST(['token' => Application::getSecurityToken()])) { try { - $Attribute->databaseUPDATE($Database); + $Attribute->update($Database); } catch(PDOException $Exception) { $messages[] = $Exception->getMessage(); } |