aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/all.php')
-rw-r--r--mod/groups/all.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 666c6ad4b..da884bac7 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -15,7 +15,7 @@
$filter = "newest";
}
- $context = get_context();
+ $context = elgg_get_context();
switch($filter){
case "newest":
@@ -50,7 +50,7 @@
$featured_groups = elgg_get_entities_from_metadata(array('metadata_name' => 'featured_group', 'metadata_value' => 'yes', 'types' => 'group', 'limit' => 10));
$area2 .= elgg_view("groups/featured", array("featured" => $featured_groups));
- set_context($context);
+ elgg_set_context($context);
$objects = "<div class='group_listings'>".$objects."</div>";