]> git.mxchange.org Git - friendica.git/blobdiff - include/security.php
rework show/hide comments
[friendica.git] / include / security.php
index 789e47db28f590ce2581f5d57de932667fe561f8..684a88a516e0e95ee9dde80225609867b11eb258 100644 (file)
@@ -28,8 +28,8 @@ function can_write_wall(&$a,$owner) {
                                AND `user`.`blockwall` = 0 AND `readonly` = 0  AND ( `contact`.`rel` IN ( %d , %d ) OR `user`.`page-flags` = %d ) LIMIT 1",
                                intval($owner),
                                intval(remote_user()),
-                               intval(REL_VIP),
-                               intval(REL_BUD),
+                               intval(CONTACT_IS_SHARING),
+                               intval(CONTACT_IS_FRIEND),
                                intval(PAGE_COMMUNITY)
                        );
                        if(count($r)) {