Skip to content
Snippets Groups Projects
Commit fd806bb4 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction de soucis lors de la mise à jour

parent 61e82f2c
No related branches found
No related tags found
No related merge requests found
......@@ -49,4 +49,4 @@ $c->println("\n" . 'Mise à jour du point d\'indice pour les HETD', $c::COLOR_LI
$bdd->exec('BEGIN OSE_FORMULE.UPDATE_ANNEE_TAUX_HETD; END;');
// Néttoyage des caches
$oa->run('clear-cache', true);
\ No newline at end of file
$oa->run('clear-cache', false);
\ No newline at end of file
......@@ -236,6 +236,7 @@ class OseAdmin
public function migration(string $context = 'pre', string $action = null)
{
if (!is_dir($this->getMigrationDir())) return;
$files = scandir($this->getMigrationDir());
foreach ($files as $i => $file) {
......@@ -244,8 +245,6 @@ class OseAdmin
}
$fileAction = substr($file, 0, -4); // on supprime l'extension PHP
if ($action === null || $fileAction === $action) {
$this->runMigrationAction($context, $fileAction);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment