mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Less one var.
This commit is contained in:
parent
6e14fa8949
commit
5ab5197090
1 changed files with 1 additions and 2 deletions
|
@ -2171,8 +2171,7 @@ class Model extends Object {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$db = $this->getDataSource();
|
$results = $this->getDataSource()->read($this, $query);
|
||||||
$results = $db->read($this, $query);
|
|
||||||
$this->resetAssociations();
|
$this->resetAssociations();
|
||||||
|
|
||||||
if ($query['callbacks'] === true || $query['callbacks'] === 'after') {
|
if ($query['callbacks'] === true || $query['callbacks'] === 'after') {
|
||||||
|
|
Loading…
Reference in a new issue