mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
Moving the sort to also sort plugin objects, sorting in test removed
This commit is contained in:
parent
cea4e4e98e
commit
266058e67a
2 changed files with 2 additions and 4 deletions
|
@ -499,10 +499,10 @@ class App {
|
|||
if ($cache === true) {
|
||||
self::$__cache = true;
|
||||
}
|
||||
sort($objects);
|
||||
if ($plugin) {
|
||||
return $objects;
|
||||
}
|
||||
sort($objects);
|
||||
self::$__objects[$cacheLocation][$name] = $objects;
|
||||
self::$_objectCacheChange = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue