mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +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);
|
||||
}
|
||||
|
||||
/* 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) {
|
||||
return $this->buildStatement(
|
||||
array(
|
||||
|
|
Loading…
Add table
Reference in a new issue