diff options
author | friendica <info@friendica.com> | 2015-02-03 15:50:12 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-03 15:50:12 -0800 |
commit | c417a43338087de82bd1c067c479320a923fe619 (patch) | |
tree | b88102888585cca5e3d70960d3b855358df6f476 /mod/dirsearch.php | |
parent | 36b756e4cde4f45993a1941eb6b8a71bb348c6e4 (diff) | |
download | volse-hubzilla-c417a43338087de82bd1c067c479320a923fe619.tar.gz volse-hubzilla-c417a43338087de82bd1c067c479320a923fe619.tar.bz2 volse-hubzilla-c417a43338087de82bd1c067c479320a923fe619.zip |
styling for the directory page when it comes to ratings
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r-- | mod/dirsearch.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php index fcd72e9eb..69b7e2eac 100644 --- a/mod/dirsearch.php +++ b/mod/dirsearch.php @@ -21,15 +21,6 @@ function dirsearch_content(&$a) { json_return_and_die($ret); } - - // If you've got a public directory server, you probably shouldn't block public access - - if((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) { - $ret['message'] = 'permission denied'; - json_return_and_die($ret); - } - - if(argc() > 1 && argv(1) === 'sites') { $ret = list_public_sites(); json_return_and_die($ret); |