From 097191213b0443ac8313f55109106aa51aaff63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lorenzo=20Rodr=C3=ADguez?= <jose.zap@gmail.com> Date: Sun, 17 Oct 2010 10:32:02 -0430 Subject: [PATCH] Removing use of third parameter of fetchAll() --- cake/libs/model/datasources/dbo_source.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index 80e121b0f..9f26b378c 100755 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -832,7 +832,7 @@ class DboSource extends DataSource { $query = $this->generateAssociationQuery($model, $null, null, null, null, $queryData, false, $null); - $resultSet = $this->fetchAll($query, $model->cacheQueries, $model->alias); + $resultSet = $this->fetchAll($query, $model->cacheQueries); if ($resultSet === false) { $model->onError(); @@ -1001,7 +1001,7 @@ class DboSource extends DataSource { $q = $this->insertQueryData($query, null, $association, $assocData, $model, $linkModel, $stack); if ($q != false) { - $fetch = $this->fetchAll($q, $model->cacheQueries, $model->alias); + $fetch = $this->fetchAll($q, $model->cacheQueries); } else { $fetch = null; } @@ -1013,7 +1013,7 @@ class DboSource extends DataSource { if ($type !== 'hasAndBelongsToMany') { $q = $this->insertQueryData($query, $resultSet[$i], $association, $assocData, $model, $linkModel, $stack); if ($q != false) { - $fetch = $this->fetchAll($q, $model->cacheQueries, $model->alias); + $fetch = $this->fetchAll($q, $model->cacheQueries); } else { $fetch = null; } @@ -1088,7 +1088,7 @@ class DboSource extends DataSource { if (count($ids) > 1) { $query = str_replace('= (', 'IN (', $query); } - return $this->fetchAll($query, $model->cacheQueries, $model->alias); + return $this->fetchAll($query, $model->cacheQueries); } /**