Skip to content

Commit

Permalink
Sort objects before storing
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed May 26, 2011
1 parent 964ff45 commit cea4e4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Core/App.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit cea4e4e

Please sign in to comment.