public function delete($tagId) { $tag = new Tag($this->getDataSource()); $tag->loadById((int) $tagId); $tag->delete(); return $tag->getInheritedAttributesValues(); }
public function delete($tagId) { $tag = new Tag($this->getDataSource()); $tag->loadById((int) $tagId); $tag->delete(); return $tag->getInheritedAttributesValues(); }