Apply staged updates
This commit is contained in:
@@ -174,6 +174,7 @@ class CategoryRepository
|
||||
|
||||
$deleted = (bool)$this->db->delete('pp_shop_categories', ['id' => $id]);
|
||||
if ($deleted) {
|
||||
$this->db->delete('pp_routes', ['category_id' => $id]);
|
||||
$this->refreshCategoryArtifacts();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user