Remove unnecessary call to getDataSource().

This commit is contained in:
Ber Clausen 2013-11-05 19:43:27 -03:00
parent c9e0131d6a
commit fdb4b11d0b

View file

@ -1066,7 +1066,6 @@ class DboSource extends DataSource {
$linkModel = $model->{$assoc};
$external = isset($assocData['external']);
$linkModel->getDataSource();
if ($model->useDbConfig === $linkModel->useDbConfig) {
if ($bypass) {
$assocData['fields'] = false;