diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-06 21:15:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-06 21:15:02 +0000 |
commit | 4a9c6c26190fd91c3e5ade9af1d15b4e68ace293 (patch) | |
tree | 561ee761cdbcb933fcd1042c84e38c82d9be9ba7 /engine/lib/elgglib.php | |
parent | d7878dd44304a55fe3b35a786b47abafc56d2ffe (diff) | |
download | elgg-4a9c6c26190fd91c3e5ade9af1d15b4e68ace293.tar.gz elgg-4a9c6c26190fd91c3e5ade9af1d15b4e68ace293.tar.bz2 |
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
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; } /** |