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

Meilleure gestion des versions

parent 908a0ef5
Branches
Tags
No related merge requests found
......@@ -48,6 +48,14 @@ class OseAdmin
public function init()
{
$this->version = $this->currentVersion();
$this->oldVersion = $this->version;
}
public function majUnicaenSymLinks(): bool
{
$oseDir = $this->getOseDir();
......
......@@ -10,8 +10,7 @@ spl_autoload_register(function ($class) {
$c = new Console();
$oa = new OseAdmin($c);
$oa->version = $oa->currentVersion();
$oa->oldVersion = $oa->version;
$oa->init();
$c->printMainTitle("OSE", 15);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment