|
|
|
@ -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]); |
|
|
|
|
|
|
|
|
|
} |