Permalink
Browse files

removed call to ->load

  • Loading branch information...
1 parent 582f814 commit 4b8a2a9d0f399bb545cf1b62a825a562791262fe @pulse00 pulse00 committed Apr 9, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 Form/ChoiceList/ModelChoiceList.php
@@ -162,10 +162,6 @@ public function getIdentifier()
*/
public function getEntities()
{
- if (!$this->loaded) {
- $this->load();
- }
-
return $this->entities;
}
@@ -186,10 +182,6 @@ public function getEntities()
*/
public function getEntity($key)
{
- if (!$this->loaded) {
- $this->load();
- }
-
if (count($this->identifier) > 1) {
// $key is a collection index
$entities = $this->getEntities();

0 comments on commit 4b8a2a9

Please sign in to comment.