protected function deleteLinked($category_id)
    {
        $this->db->delete('category_translation', array('category_id' => $category_id));
        $this->db->delete('file', array('entity' => 'category', 'entity_id' => $category_id));
        $this->db->delete('alias', array('entity' => 'category', 'entity_id' => $category_id));
    }
protected function deleteLinked($category_id)
    {
        $this->db->delete('category_translation', array('category_id' => $category_id));
        $this->db->delete('file', array('entity' => 'category', 'entity_id' => $category_id));
        $this->db->delete('alias', array('entity' => 'category', 'entity_id' => $category_id));
    }
protected function deleteLinked ( $ category_id ) { $ this -> db -> delete ( 'category_translation' , array ( 'category_id' => $ category_id ) ) ; $ this -> db -> delete ( 'file' , array ( 'entity' => 'category' , 'entity_id' => $ category_id ) ) ; $ this -> db -> delete ( 'alias' , array ( 'entity' => 'category' , 'entity_id' => $ category_id ) ) ; }
Delete all database records related to the category ID
@param string $category_id
Delete all database records related to the category ID