aboutsummaryrefslogtreecommitdiffstats
path: root/include/directory.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-15 16:06:49 -0700
committerfriendica <info@friendica.com>2013-05-15 16:06:49 -0700
commitfece1675d39d2d4a060c1bd87f2b8023e89c5df4 (patch)
treebfab5040e5fb0ef951a99c2ecb21e3089c72528e /include/directory.php
parentf8f2591eb9a093b38433a80509c68638a6cf7c8b (diff)
downloadvolse-hubzilla-fece1675d39d2d4a060c1bd87f2b8023e89c5df4.tar.gz
volse-hubzilla-fece1675d39d2d4a060c1bd87f2b8023e89c5df4.tar.bz2
volse-hubzilla-fece1675d39d2d4a060c1bd87f2b8023e89c5df4.zip
don't use permissions to block directory updates from happening. Use zfinger to decide what to send.
Diffstat (limited to 'include/directory.php')
-rw-r--r--include/directory.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/directory.php b/include/directory.php
index 9c5f8d644..5f24b4af8 100644
--- a/include/directory.php
+++ b/include/directory.php
@@ -32,12 +32,6 @@ function directory_run($argv, $argc){
$channel = $x[0];
- // is channel profile visible to the public?
- // FIXME - remove dir entry if permission is revoked
-
- if(! perm_is_allowed($channel['channel_id'],null,'view_profile'))
- return;
-
$directory = find_upstream_directory($dirmode);
if($directory) {