aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 15:13:10 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 15:13:10 +0000
commitb7af7728b559fc8c7de03f1646092783bca7d07d (patch)
treed55f2167c01aa19947f3f9d82cbfc168707a0b99 /engine/lib/access.php
parent228c74feb61186dbaee88bafb5f73a53e568472f (diff)
downloadelgg-b7af7728b559fc8c7de03f1646092783bca7d07d.tar.gz
elgg-b7af7728b559fc8c7de03f1646092783bca7d07d.tar.bz2
Forgot to commit this
git-svn-id: https://code.elgg.org/elgg/trunk@1440 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r--engine/lib/access.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index e696f89d8..be2cda295 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -104,14 +104,14 @@
if ($table_prefix)
$table_prefix = sanitise_string($table_prefix) . ".";
- if (!is_privileged())
- {
+ //if (!is_privileged())
+ //{
$access = get_access_list();
$sql = " ({$table_prefix}access_id in {$access} or ({$table_prefix}access_id = 0 and {$table_prefix}owner_guid = {$_SESSION['id']}))";
- }
- else
- $sql = " 1 ";
+ //}
+ //else
+ // $sql = " 1 ";
// Only return 'active' objects
$sql .= " and {$table_prefix}enabled='yes'";