Permalink
Browse files

Remove unnecessary call to getDataSource().

  • Loading branch information...
1 parent c9e0131 commit fdb4b11d0b796caee0603f52492bfb9bfe8cebb5 @bar bar committed Nov 5, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Model/Datasource/DboSource.php
@@ -1066,7 +1066,6 @@ public function read(Model $model, $queryData = array(), $recursive = null) {
$linkModel = $model->{$assoc};
$external = isset($assocData['external']);
- $linkModel->getDataSource();
if ($model->useDbConfig === $linkModel->useDbConfig) {
if ($bypass) {
$assocData['fields'] = false;

0 comments on commit fdb4b11

Please sign in to comment.