From e4bace4c7414138d8d9b67f79a902f63694fc10c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 20 Dec 2008 01:42:18 +0000 Subject: Collapse Admin_Dashboard_Controller down into a single theme call, since now all dashboard blocks are stored in modules. --- core/controllers/admin_dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/controllers/admin_dashboard.php') diff --git a/core/controllers/admin_dashboard.php b/core/controllers/admin_dashboard.php index 7d752495..a29c2167 100644 --- a/core/controllers/admin_dashboard.php +++ b/core/controllers/admin_dashboard.php @@ -17,9 +17,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -class Admin_Dashboard_Controller extends Controller { +class Admin_Dashboard_Controller extends Admin_Controller { public function index() { - return new View("admin_dashboard.html"); + return $this->theme()->dashboard_blocks(); } } -- cgit v1.2.3