From 6bb6cb7ef6c30f01c5f9e5a75f383eb9d19184ae Mon Sep 17 00:00:00 2001 From: ewinslow Date: Mon, 30 Aug 2010 09:26:47 +0000 Subject: Fixes #2289: grouprofile.php now uses elgg_view_entity and group/group has been renamed to group/default git-svn-id: http://code.elgg.org/elgg/trunk@6883 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/groupprofile.php | 2 +- mod/groups/views/default/group/default.php | 17 +++++++++++++++++ mod/groups/views/default/group/group.php | 17 ----------------- 3 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 mod/groups/views/default/group/default.php delete mode 100644 mod/groups/views/default/group/group.php diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php index c1b65c14b..41e2de918 100644 --- a/mod/groups/groupprofile.php +++ b/mod/groups/groupprofile.php @@ -28,7 +28,7 @@ if (!$groupaccess) $view_all = false; - $area2 .= elgg_view('group/group', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)); + $area2 .= elgg_view_entity($group, TRUE); if ($view_all) { //group profile 'items' - these are not real widgets, just contents to display diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php new file mode 100644 index 000000000..e250a247b --- /dev/null +++ b/mod/groups/views/default/group/default.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/mod/groups/views/default/group/group.php b/mod/groups/views/default/group/group.php deleted file mode 100644 index e250a247b..000000000 --- a/mod/groups/views/default/group/group.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file -- cgit v1.2.3