aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-03 01:14:28 -0700
committerfriendica <info@friendica.com>2014-05-03 01:14:28 -0700
commit5d623f3a0861734e5243c35c5f40df7838bbeda2 (patch)
tree464a54bd1d4f9dd35df653d708c59b44564a1beb /include/security.php
parentf6bcc1dfc437f57d12c2da0fd9785bcf370bb0e2 (diff)
downloadvolse-hubzilla-5d623f3a0861734e5243c35c5f40df7838bbeda2.tar.gz
volse-hubzilla-5d623f3a0861734e5243c35c5f40df7838bbeda2.tar.bz2
volse-hubzilla-5d623f3a0861734e5243c35c5f40df7838bbeda2.zip
more easter eggs
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php6
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();