From 37fcfb9c866c55e3769f9fc3d6a9681b9109fc8d Mon Sep 17 00:00:00 2001 From: Ceeram Date: Mon, 23 May 2011 11:34:13 +0200 Subject: [PATCH] reset objects when using App::build() with App::RESET --- lib/Cake/Core/App.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index 9a0d4dd7c..8f7c108ae 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -326,6 +326,7 @@ class App { $type = self::$legacy[$type]; } self::$__packages[$type] = (array)$new; + self::objects($type, null, false); } return $paths; }