aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-14 14:59:20 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-14 14:59:20 +0000
commita858ff3e51503cdf4eeef594acb65d2324efdf81 (patch)
treed8a7fdfa40428802fd90e27c61ed3fcd0c31ce1f /engine/lib/elgglib.php
parent7600c8f5a898806e7788c9d26627f19083eb45e3 (diff)
downloadelgg-a858ff3e51503cdf4eeef594acb65d2324efdf81.tar.gz
elgg-a858ff3e51503cdf4eeef594acb65d2324efdf81.tar.bz2
Fixes #2195. 3rd and 4th params of page_draw() are now $page_shell and $vars.
git-svn-id: http://code.elgg.org/elgg/trunk@6704 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index a4e83e40b..f74fbec09 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -2181,16 +2181,16 @@ function elgg_init() {
register_shutdown_function('__elgg_shutdown_hook');
}
+/**
+ * Walled garden system:index plugin hook.
+ */
function elgg_walled_garden_index() {
$login = elgg_view('account/forms/login_walled_garden');
- echo elgg_view('page_shells/walled_garden', array(
- 'body' => $login,
- 'sysmessages' => system_messages(NULL, ''),
- ));
+ page_draw('', $login, 'page_shells/walled_garden');
+
// @hack Index must exit to keep plugins from continuing to extend
exit;
- return TRUE;
}
/**