From e93cd6c352a8e4fbb4e1174bdb15484adbe4c0f7 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 26 Sep 2025 12:04:02 +0200 Subject: suppression table Presentation --- src/installation.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/installation.php') diff --git a/src/installation.php b/src/installation.php index 0d68e7b..452df60 100644 --- a/src/installation.php +++ b/src/installation.php @@ -7,7 +7,6 @@ use App\Entity\Page; use App\Entity\Node; use App\Entity\NodeData; use App\Entity\Image; -use App\Entity\Presentation; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\EntityManager; @@ -117,12 +116,6 @@ function makeStartPage(EntityManager $entityManager){ $head_new_page = new Node('head', ['css_array' => ['body', 'head', 'nav', 'new_page', 'foot'], 'js_array' => ['main', 'new_page']], 1, NULL, $new_page, NULL); $bloc_new_page = new Node('new_page', [], 1, $main, $new_page, NULL); - /* -- table presentation -- */ - $fullwidth = new Presentation('fullwidth'); - $grid = new Presentation('grid'); - $mosaic = new Presentation('mosaic'); - $carousel = new Presentation('carousel'); - /* -- table image -- */ // paramètres: file_name, file_path, file_path_mini, mime_type, alt $favicon = new Image("favicon48x48.png", NULL, "assets/favicon48x48.png", "image/png", "favicon"); @@ -169,12 +162,6 @@ function makeStartPage(EntityManager $entityManager){ $entityManager->persist($bloc_edit_menu); $entityManager->persist($head_new_page); $entityManager->persist($bloc_new_page); - - /* -- table presentation -- */ - $entityManager->persist($fullwidth); - $entityManager->persist($grid); - $entityManager->persist($mosaic); - $entityManager->persist($carousel); /* -- table image -- */ $entityManager->persist($favicon); -- cgit v1.2.3