diff options
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 69c56275d..3cc4ddb1d 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -1758,7 +1758,7 @@ function elgg_is_valid_options_for_batch_operation($options, $type) { * * @link http://docs.elgg.org/Tutorials/WalledGarden * @elgg_plugin_hook index system - * @return void + * @return boolean */ function elgg_walled_garden_index() { elgg_register_css('/pg/css/walled_garden.css'); @@ -1766,8 +1766,8 @@ function elgg_walled_garden_index() { echo elgg_view_page('', $login, 'walled_garden'); - // @hack Index must exit to keep plugins from continuing to extend - exit; + // return true to prevent other plugins from adding a front page + return true; } /** |