From d83a705dc3b58877efa35b06461c0f43d5bda894 Mon Sep 17 00:00:00 2001 From: gwoo Date: Mon, 9 Jul 2007 01:04:54 +0000 Subject: [PATCH] fixing acl shell git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5413 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/libs/acl.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cake/console/libs/acl.php b/cake/console/libs/acl.php index 22c0edfac..e5f313c5e 100644 --- a/cake/console/libs/acl.php +++ b/cake/console/libs/acl.php @@ -98,7 +98,8 @@ class AclShell extends Shell { if (!in_array($this->command, array('initdb'))) { $this->Acl = new AclComponent(); - $this->db =& ConnectionManager::getDataSource($this->dataSource); + $controller = null; + $this->Acl->startup($controller); } } }