src/Webtrees/Module/Sosa/Model/SosaProvider.php
public function deleteAll() {
        if(!$this->is_setup) return;
        Database::prepare(
            'DELETE FROM `##maj_sosa`'.
            ' WHERE majs_gedcom_id= :tree_id and majs_user_id = :user_id ')
            ->execute(array(
                'tree_id' => $this->tree->getTreeId(), 
                'user_id' => $this->user->getUserId()                
            ));
    }
public function deleteAll() {
        if(!$this->is_setup) return;
        Database::prepare(
            'DELETE FROM `##maj_sosa`'.
            ' WHERE majs_gedcom_id= :tree_id and majs_user_id = :user_id ')
            ->execute(array(
                'tree_id' => $this->tree->getTreeId(), 
                'user_id' => $this->user->getUserId()                
            ));
    }
public function deleteAll ( ) { if ( ! $ this -> is_setup ) return ; Database :: prepare ( 'DELETE FROM `##maj_sosa`' . ' WHERE majs_gedcom_id= :tree_id and majs_user_id = :user_id ' ) -> execute ( array ( 'tree_id' => $ this -> tree -> getTreeId ( ) , 'user_id' => $ this -> user -> getUserId ( ) ) ) ; }
Remove all Sosa entries related to the gedcom file and user
Remove all Sosa entries related to the gedcom file and user