aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggSite.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggSite.php')
-rw-r--r--engine/classes/ElggSite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php
index 6ab6a9aef..0237421e0 100644
--- a/engine/classes/ElggSite.php
+++ b/engine/classes/ElggSite.php
@@ -357,7 +357,7 @@ class ElggSite extends ElggEntity {
public function checkWalledGarden() {
global $CONFIG;
- if ($CONFIG->walled_garden && !isloggedin()) {
+ if ($CONFIG->walled_garden && !elgg_is_logged_in()) {
// hook into the index system call at the highest priority
elgg_register_plugin_hook_handler('index', 'system', 'elgg_walled_garden_index', 1);