aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {