Forçage inutile

This commit is contained in:
Fred Tempez 2024-09-28 18:34:10 +02:00
parent f1e1989c97
commit 23f38a606f

View File

@ -393,8 +393,6 @@ class page extends common
foreach ($this->getHierarchy($this->getUrl(2), null) as $childrenPageId) {
$this->setData(['page', $childrenPageId, 'parentPageId', $pageId], false);
}
// Sauvegarde la base manuellement
$this->saveDB('page');
// Change l'id de page dans les données des modules
if ($this->getData(['module', $this->getUrl(2)]) !== null) {
$this->setData(['module', $pageId, $this->getData(['module', $this->getUrl(2)])], false);