Cleaning up DboSource

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6231 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-12-23 17:30:08 +00:00
parent 0d469ac4ba
commit 7104e40b62

View file

@ -1183,7 +1183,6 @@ class DboSource extends DataSource {
'table' => 'join_table',
'conditions' => array()
), $join);
//pr($data);
if (!empty($data['alias'])) {
$data['alias'] = $this->alias . $this->name($data['alias']);
@ -1191,7 +1190,6 @@ class DboSource extends DataSource {
if (!empty($data['conditions'])) {
$data['conditions'] = trim($this->conditions($data['conditions'], true, false));
}
//pr($data);
return $this->renderJoinStatement($data);
}