src/Webtrees/Module/GeoDispersion/Model/GeoAnalysisProvider.php
public function deleteGeoAnalysis(GeoAnalysis $ga) {
        Database::prepare(
            'DELETE FROM `##maj_geodispersion`'.
            ' WHERE majgd_file = :gedcom_id AND majgd_id=:ga_id'
            )->execute(array(
                'gedcom_id' => $this->tree->getTreeId(),
                'ga_id' => $ga->getId()
            ));
    }
public function deleteGeoAnalysis(GeoAnalysis $ga) {
        Database::prepare(
            'DELETE FROM `##maj_geodispersion`'.
            ' WHERE majgd_file = :gedcom_id AND majgd_id=:ga_id'
            )->execute(array(
                'gedcom_id' => $this->tree->getTreeId(),
                'ga_id' => $ga->getId()
            ));
    }
public function deleteGeoAnalysis ( GeoAnalysis $ ga ) { Database :: prepare ( 'DELETE FROM `##maj_geodispersion`' . ' WHERE majgd_file = :gedcom_id AND majgd_id=:ga_id' ) -> execute ( array ( 'gedcom_id' => $ this -> tree -> getTreeId ( ) , 'ga_id' => $ ga -> getId ( ) ) ) ; }
Delete a geodispersion analysis from the database.

@param GeoAnalysis $ga
Delete a geodispersion analysis from the database .