ok to validate delete entry, next delete output.

This commit is contained in:
JBthePenguin 2021-06-12 09:45:08 +02:00
parent d6a6ec9153
commit cb2c3f4565
6 changed files with 38 additions and 11 deletions

View file

@ -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);