Skip to content
Snippets Groups Projects
Commit 511bb852 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #12471 TIME 0:20 deleting tag in resources_tags in delete tag

parent f49f7325
No related branches found
No related tags found
No related merge requests found
......@@ -250,6 +250,11 @@ class TagController
}
}
ResourceTagModel::delete([
'where' => ['tag_id = ?'],
'data' => [$args['id']]
]);
TagModel::delete([
'where' => ['id = ?'],
'data' => [$args['id']]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment