Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoxtech committed Jul 5, 2021
1 parent 42a9694 commit 8bf4c89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upload/admin/model/setting/modification.php
Expand Up @@ -23,6 +23,10 @@ public function deleteModification($modification_id) {
$this->db->query("DELETE FROM `" . DB_PREFIX . "modification` WHERE `modification_id` = '" . (int)$modification_id . "'");
}

public function deleteModificationBackups($modification_id) {
$this->db->query("DELETE FROM " . DB_PREFIX . "modification_backup WHERE modification_id = '" . (int)$modification_id . "'");
}

public function deleteModificationsByExtensionInstallId($extension_install_id) {
$this->db->query("DELETE FROM `" . DB_PREFIX . "modification` WHERE `extension_install_id` = '" . (int)$extension_install_id . "'");
}
Expand Down

0 comments on commit 8bf4c89

Please sign in to comment.