aboutsummaryrefslogtreecommitdiff
path: root/src/model/Menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/Menu.php')
-rw-r--r--src/model/Menu.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/model/Menu.php b/src/model/Menu.php
index 3d07d3f..d277259 100644
--- a/src/model/Menu.php
+++ b/src/model/Menu.php
@@ -18,10 +18,6 @@ class Menu extends Page
18 ->createQuery('SELECT n FROM App\Entity\Page n WHERE n.parent IS null') // :Doctrine\ORM\Query 18 ->createQuery('SELECT n FROM App\Entity\Page n WHERE n.parent IS null') // :Doctrine\ORM\Query
19 ->getResult(); // :array de Page 19 ->getResult(); // :array de Page
20 20
21 if(count($bulk_data) === 0){
22 fillStartingDatabase($entityManager); // => installation.php
23 }
24
25 foreach($bulk_data as $first_level_entries){ 21 foreach($bulk_data as $first_level_entries){
26 // dans le menu 22 // dans le menu
27 if($first_level_entries->isInMenu()){ 23 if($first_level_entries->isInMenu()){