Commit 04a75b18 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Meilleure gestion des versions

parent 908a0ef5
......@@ -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,10 +10,9 @@ 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);
$c->printMainTitle("OSE", 15);
$oa->run($c->getArg(1));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment