From 1180f66cc096ce1a54a6d1fe88196fa1ee6cda54 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 2 May 2010 16:28:18 -0700 Subject: [PATCH] Setting $actions to null so that the controller methods are not always based upon the first controller in an app/plugin. Signed-off-by: Mark Story --- cake/console/libs/tasks/view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/console/libs/tasks/view.php b/cake/console/libs/tasks/view.php index bdb5a72bcd6..f3e23601373 100644 --- a/cake/console/libs/tasks/view.php +++ b/cake/console/libs/tasks/view.php @@ -197,6 +197,7 @@ function all() { $actions = $this->_methodsToBake(); } $this->bakeActions($actions, $vars); + $actions = null; } } }