aboutsummaryrefslogtreecommitdiff
path: root/pages/dashboard/latest.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/dashboard/latest.php')
-rw-r--r--pages/dashboard/latest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/dashboard/latest.php b/pages/dashboard/latest.php
index 6dab598a1..3e8ddeefb 100644
--- a/pages/dashboard/latest.php
+++ b/pages/dashboard/latest.php
@@ -16,10 +16,10 @@ global $CONFIG;
if (is_plugin_enabled('riverdashboard')) {
$title = elgg_view_title(elgg_echo('content:latest'));
- set_context('search');
+ elgg_set_context('search');
$content = elgg_list_registered_entities(array('limit' => 10, 'full_view' => FALSE,
'allowed_types' => array('object','group')));
- set_context('latest');
+ elgg_set_context('latest');
} else {
$content = "Riverdashboard not loaded";
}