aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 16:57:14 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 16:57:14 +0000
commit63a58847a215af8375ada0bd801bf422a318b8aa (patch)
treeefcc2e4063a48d77a95adaaa729b9284d6d4fdc7 /engine
parente2d271292538609339f08b76633c639edfb6ad99 (diff)
downloadelgg-63a58847a215af8375ada0bd801bf422a318b8aa.tar.gz
elgg-63a58847a215af8375ada0bd801bf422a318b8aa.tar.bz2
We only have one pageshell.
git-svn-id: https://code.elgg.org/elgg/trunk@898 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index e7e3abc12..1279b8906 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -355,11 +355,7 @@
* @return unknown
*/
function page_draw($title, $body, $sidebar = "") {
- if (isloggedin()) {
- $view = "pageshells/pageshell";
- } else {
- $view = "pageshells/pageshell_loggedout";
- }
+
echo elgg_view('pageshells/pageshell', array(
'title' => $title,
'body' => $body,