commentaire
This commit is contained in:
parent
e07080b682
commit
0cc6a4adb3
@ -247,7 +247,10 @@ class course extends common
|
|||||||
]);
|
]);
|
||||||
// Suppression
|
// Suppression
|
||||||
} else {
|
} else {
|
||||||
|
// Active l'accueil
|
||||||
self::$siteContent = 'home';
|
self::$siteContent = 'home';
|
||||||
|
|
||||||
|
// ET efface la structure
|
||||||
if (is_dir(self::DATA_DIR . $courseId)) {
|
if (is_dir(self::DATA_DIR . $courseId)) {
|
||||||
$success = $this->deleteDir(self::DATA_DIR . $courseId);
|
$success = $this->deleteDir(self::DATA_DIR . $courseId);
|
||||||
$this->deleteData(['course', $courseId]);
|
$this->deleteData(['course', $courseId]);
|
||||||
|
Loading…
Reference in New Issue
Block a user