mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +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 = $db->read($this, $query);
|
||||
$results = $this->getDataSource()->read($this, $query);
|
||||
$this->resetAssociations();
|
||||
|
||||
if ($query['callbacks'] === true || $query['callbacks'] === 'after') {
|
||||
|
|
Loading…
Reference in a new issue