diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 28301d62..4ffa9beb 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -964,25 +964,3 @@ if ($this->getData(['core', 'dataVersion']) < 11400) { $this->setData(['core', 'dataVersion', 11400]); } -// Version 11.4.03 -if ($this->getData(['core', 'dataVersion']) < 11403) { - - // Modification de structure du module download - foreach ($this->getHierarchy(null,null,null) as $parentKey=>$parentValue) { - $pageList [] = $parentKey; - foreach ($parentValue as $childKey) { - $pageList [] = $childKey; - } - } - foreach ($pageList as $parentKey => $parent) { - if ($this->getData(['page', $parent, 'moduleId']) === 'download') { - $tempData = $this->getData(['module', $parent, 'items']); - $this->setData(['module', $parent, 'posts', $tempData]); - $this->deleteData(['module', $parent, 'items']); - } - } - - // Mise à jour - $this->setData(['core', 'dataVersion', 11403]); - -} \ No newline at end of file