Permalink
Browse files

Removed the use of CLASS_DEFAULT constant

  • Loading branch information...
willdurand committed Mar 3, 2012
1 parent c666ae7 commit 3397d7422dff3b9067ae69f7899c30b46dd17508
Showing with 1 addition and 2 deletions.
  1. +1 −2 DataFixtures/Loader/AbstractDataLoader.php
@@ -194,8 +194,7 @@ protected function loadDataFromArray($data = null)
// save the object for future reference
if (method_exists($obj, 'getPrimaryKey')) {
- $class_default = constant(constant($class.'::PEER').'::CLASS_DEFAULT');
- $this->object_references[Propel::importClass($class_default).'_'.$key] = $obj;
+ $this->object_references[$class.'_'.$key] = $obj;
}
}
}

0 comments on commit 3397d74

Please sign in to comment.