ok to validate delete entry, next delete output.
This commit is contained in:
parent
d6a6ec9153
commit
cb2c3f4565
6 changed files with 38 additions and 11 deletions
|
|
@ -17,7 +17,6 @@ class Category
|
|||
$db->update('plugin_materiels_category', $data, $db->where('id', $id));
|
||||
}
|
||||
|
||||
|
||||
public function delete($id)
|
||||
{
|
||||
DB::getInstance()->delete('plugin_materiels_category', 'id = ' . $id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue