From 4a9c6c26190fd91c3e5ade9af1d15b4e68ace293 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Mar 2011 21:15:02 +0000 Subject: Refs #2693 walled garden code is functional. Push back a thorough clean up until Elgg 1.9 git-svn-id: http://code.elgg.org/elgg/trunk@8614 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/lib') 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; } /** -- cgit v1.2.3