diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/security.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php index f15dea302..53161e427 100644 --- a/include/security.php +++ b/include/security.php @@ -108,6 +108,9 @@ function change_channel($change_channel) { function permissions_sql($owner_id,$remote_verified = false,$groups = null) { + if(defined('STATUSNET_PRIVACY_COMPATIBILITY')) + return ''; + $local_user = local_user(); $remote_user = remote_user(); @@ -170,6 +173,9 @@ function permissions_sql($owner_id,$remote_verified = false,$groups = null) { function item_permissions_sql($owner_id,$remote_verified = false,$groups = null) { + if(defined('STATUSNET_PRIVACY_COMPATIBILITY')) + return ''; + $local_user = local_user(); $remote_user = remote_user(); |