/trunk/scripts/modules/pull_plantnet/PullPlantnet.php |
---|
128,6 → 128,7 |
private function getProjectLatest(array $project, int $startDate, string $lifecycle): array { |
$this->currentProject = $project; |
$this->refreshBddConnexion(); |
if (!$this->currentPage) { |
echo 'Projet ' . $project['name'] . "\n"; |
790,4 → 791,10 |
echo 'LOG - ' . $text . "\n"; |
} |
} |
private function refreshBddConnexion() { |
$this->bdd = null; |
$this->log("Fermeture et création d'une nouvelle connexion à la BdD"); |
$this->bdd = new Bdd(); |
} |
} |