From 22bb75ea6cd36fc3f6b0f6be608aa4637063d29a Mon Sep 17 00:00:00 2001
From: ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Sat, 12 Feb 2011 02:29:23 +0000
Subject: Fixes #2904: Converted most elgg_view('layout/objects/module')
 instances to elgg_view_module()

git-svn-id: http://code.elgg.org/elgg/trunk@8135 36083f99-b078-4883-b0ff-0f9b5a30f544
---
 views/default/layout/shells/admin/menu.php | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'views/default/layout/shells/admin/menu.php')

diff --git a/views/default/layout/shells/admin/menu.php b/views/default/layout/shells/admin/menu.php
index db5564978..b0e0d0063 100644
--- a/views/default/layout/shells/admin/menu.php
+++ b/views/default/layout/shells/admin/menu.php
@@ -5,8 +5,4 @@
 
 $content = elgg_view_menu('page', array('sort_by' => 'name'));
 
-echo elgg_view('layout/objects/module', array(
-	'title' => elgg_echo('admin:menu'),
-	'body' => $content,
-	'class' => 'elgg-module-main',
-));
+echo elgg_view_module('main', elgg_echo('admin:menu'), $content);
\ No newline at end of file
-- 
cgit v1.2.3