aboutsummaryrefslogtreecommitdiff
path: root/mod/dashboard/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dashboard/start.php')
-rw-r--r--mod/dashboard/start.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/dashboard/start.php b/mod/dashboard/start.php
index 5635ead57..65007d1a8 100644
--- a/mod/dashboard/start.php
+++ b/mod/dashboard/start.php
@@ -29,6 +29,10 @@ function dashboard_init() {
elgg_register_plugin_hook_handler('get_list', 'default_widgets', 'dashboard_default_widgets');
}
+/**
+ * Dashboard page handler
+ * @return bool
+ */
function dashboard_page_handler() {
// Ensure that only logged-in users can see this page
gatekeeper();
@@ -51,6 +55,7 @@ function dashboard_page_handler() {
$body = elgg_view_layout('one_column', array('content' => $widgets));
echo elgg_view_page($title, $body);
+ return true;
}