mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
removing commented code from dbo_source
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7576 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
ab167ffb9f
commit
8e546b23b8
1 changed files with 0 additions and 14 deletions
|
@ -1033,20 +1033,6 @@ class DboSource extends DataSource {
|
||||||
unset($assocFields, $passedFields);
|
unset($assocFields, $passedFields);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Saving for later refactor
|
|
||||||
$tmpModel =& $model;
|
|
||||||
|
|
||||||
if ($linkModel != null) {
|
|
||||||
$tmpModel =& $linkModel;
|
|
||||||
}
|
|
||||||
foreach ($tmpModel->schema() as $field => $info) {
|
|
||||||
if ($info['type'] == 'boolean') {
|
|
||||||
$this->_booleans[$tmpModel->alias][] = $field;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
unset($tmpModel);
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ($linkModel == null) {
|
if ($linkModel == null) {
|
||||||
return $this->buildStatement(
|
return $this->buildStatement(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue