diff options
Diffstat (limited to 'mod/groups/discussions.php')
-rw-r--r-- | mod/groups/discussions.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mod/groups/discussions.php b/mod/groups/discussions.php index c0734b4ff..3e171374e 100644 --- a/mod/groups/discussions.php +++ b/mod/groups/discussions.php @@ -15,15 +15,8 @@ // Load Elgg engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
- // Get the current page's owner
- $page_owner = page_owner_entity();
- if ($page_owner === false || is_null($page_owner)) {
- $page_owner = $_SESSION['user'];
- set_page_owner($_SESSION['guid']);
- }
-
// Display them
- $area2 = elgg_view_title(elgg_echo("groups:alldiscussion"));
+ $area2 = elgg_view_title(elgg_echo("groups:latestdiscussion"));
set_context('search');
$area2 .= list_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 40, 0, 0, false, true);
set_context('groups');
@@ -31,7 +24,7 @@ $body = elgg_view_layout("two_column_left_sidebar", '', $area2);
// Display page
- page_draw(sprintf(elgg_echo('groups:user')),$body);
+ page_draw(elgg_echo('groups:latestdiscussion'),$body);
?>
\ No newline at end of file |