src/Webtrees/Module/Sosa/Model/SosaCalculator.php
public function computeAll() {
        $root_id = $this->tree->getUserPreference($this->user, 'MAJ_SOSA_ROOT_ID');        
        $indi = Individual::getInstance($root_id, $this->tree);
        if($indi){
            $this->sosa_provider->deleteAll();
            $this->addNode($indi, 1);
            $this->flushTmpSosaTable(true);
            return true;
        }     
        return false;
    }
public function computeAll() {
        $root_id = $this->tree->getUserPreference($this->user, 'MAJ_SOSA_ROOT_ID');        
        $indi = Individual::getInstance($root_id, $this->tree);
        if($indi){
            $this->sosa_provider->deleteAll();
            $this->addNode($indi, 1);
            $this->flushTmpSosaTable(true);
            return true;
        }     
        return false;
    }
public function computeAll ( ) { $ root_id = $ this -> tree -> getUserPreference ( $ this -> user , 'MAJ_SOSA_ROOT_ID' ) ; $ indi = Individual :: getInstance ( $ root_id , $ this -> tree ) ; if ( $ indi ) { $ this -> sosa_provider -> deleteAll ( ) ; $ this -> addNode ( $ indi , 1 ) ; $ this -> flushTmpSosaTable ( true ) ; return true ; } return false ; }
Compute all Sosa ancestors from the user's root individual.
@return bool Result of the computation
Compute all Sosa ancestors from the user s root individual .