Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Sort objects before storing

  • Loading branch information...
commit cea4e4e98ef123d44f35cbd6442607c8c93365ee 1 parent 964ff45
@ceeram ceeram authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Cake/Core/App.php
View
1  lib/Cake/Core/App.php
@@ -502,6 +502,7 @@ public static function objects($type, $path = null, $cache = true) {
if ($plugin) {
return $objects;
}
+ sort($objects);
self::$__objects[$cacheLocation][$name] = $objects;
self::$_objectCacheChange = true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.