mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
parent
59f84024e5
commit
3e0fa0009b
1 changed files with 6 additions and 6 deletions
|
@ -928,7 +928,7 @@ class DboSource extends DataSource {
|
|||
'took' => $this->took
|
||||
);
|
||||
if (count($this->_queriesLog) > $this->_queriesLogMax) {
|
||||
array_pop($this->_queriesLog);
|
||||
array_shift($this->_queriesLog);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue