Removed the use of CLASS_DEFAULT constant

This commit is contained in:
William DURAND 2012-03-03 18:47:08 +01:00
parent c666ae7e76
commit 3397d7422d

View file

@ -194,8 +194,7 @@ abstract class AbstractDataLoader extends AbstractDataHandler implements DataLoa
// 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;
}
}
}