diff --git a/core/core.php b/core/core.php index 41aff3a..bc1c7bd 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.7.08'; + const ZWII_VERSION = '1.7.07'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/course/course.php b/core/module/course/course.php index ecf8a44..cc4d2bd 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -1551,7 +1551,6 @@ class course extends common /** * Désinscription d'un participant - * La désinscription ne supprime pas l'historique */ public function unsuscribe() { @@ -1563,7 +1562,7 @@ class course extends common && array_key_exists($courseId, $this->getData(['course'])) ) { $userId = $this->getUser('id'); - //$this->deleteData(['enrolment', $courseId, $userId]); + $this->deleteData(['enrolment', $courseId, $userId]); $_SESSION['ZWII_SITE_CONTENT'] = 'home'; // Valeurs en sortie $this->addOutput([