diff options
-rw-r--r-- | engine/lib/elgglib.php | 6 |
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,
|