forked from ZwiiCMS-Team/ZwiiCMS
proprité ExtraProsition false par défaut
This commit is contained in:
parent
19162c3572
commit
44b41c4cc1
@ -790,4 +790,21 @@ if ($this->getData(['core', 'dataVersion']) < 11300) {
|
|||||||
|
|
||||||
// Mise à jour
|
// Mise à jour
|
||||||
$this->setData(['core', 'dataVersion', 11300]);
|
$this->setData(['core', 'dataVersion', 11300]);
|
||||||
}
|
}
|
||||||
|
// Version 11.3.03
|
||||||
|
if ($this->getData(['core', 'dataVersion']) < 11303) {
|
||||||
|
|
||||||
|
// Ajout de la variable shortTitle basée sur Title
|
||||||
|
foreach ($this->getHierarchy(null,null,null) as $parentKey=>$parentValue) {
|
||||||
|
$pageList [] = $parentKey;
|
||||||
|
foreach ($parentValue as $childKey) {
|
||||||
|
$pageList [] = $childKey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
foreach ($pageList as $parentKey => $parent) {
|
||||||
|
$this->setData(['page', $parent, 'extraPosition', false]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mise à jour
|
||||||
|
$this->setData(['core', 'dataVersion', 11303]);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user