mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	Remove commented code
This commit is contained in:
		| @@ -363,7 +363,6 @@ class LoadPeople extends AbstractFixture implements ContainerAwareInterface, Ord | ||||
|  | ||||
|         $manager->persist($person); | ||||
|         $manager->persist($accompanyingPeriod); | ||||
|         echo "add person'" . $person->__toString() . "'\n"; | ||||
|  | ||||
|         $this->addReference(self::PERSON . $person->getId(), $person); | ||||
|     } | ||||
| @@ -486,23 +485,4 @@ class LoadPeople extends AbstractFixture implements ContainerAwareInterface, Ord | ||||
|  | ||||
|         return $this->cacheUsers[array_rand($this->cacheUsers)]; | ||||
|     } | ||||
|  | ||||
|     /* | ||||
|         private function addAccompanyingPeriods(Person $person, array $periods, ObjectManager $manager) | ||||
|         { | ||||
|             foreach ($periods as $period) { | ||||
|  | ||||
|                 echo "adding new past Accompanying Period..\n"; | ||||
|  | ||||
|                 /** @var AccompanyingPeriod $accompanyingPeriod | ||||
|                 $accompanyingPeriod = new AccompanyingPeriod(new \DateTime($period['from'])); | ||||
|                 $accompanyingPeriod | ||||
|                     ->setClosingDate(new \DateTime($period['to'])) | ||||
|                     ->setRemark($period['remark']) | ||||
|                 ; | ||||
|  | ||||
|                 $person->addAccompanyingPeriod($accompanyingPeriod); | ||||
|             } | ||||
|         } | ||||
|      */ | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user