diff options
author | marijus <mario@localhost.localdomain> | 2013-12-02 11:30:02 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2013-12-02 11:30:02 +0100 |
commit | fc8c34826ea361a49c29742f15b98b573e6c7c86 (patch) | |
tree | 082c5d1c39a358cc19bcbb9465ccf831f134b751 /mod/match.php | |
parent | 51cad9cafef228090cc1641a425ba272b1a3b470 (diff) | |
parent | f22302cbb649013087e27ba5d6679dcefb3953f1 (diff) | |
download | volse-hubzilla-fc8c34826ea361a49c29742f15b98b573e6c7c86.tar.gz volse-hubzilla-fc8c34826ea361a49c29742f15b98b573e6c7c86.tar.bz2 volse-hubzilla-fc8c34826ea361a49c29742f15b98b573e6c7c86.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/match.php')
-rw-r--r-- | mod/match.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mod/match.php b/mod/match.php index 23eeb9370..5447f755d 100644 --- a/mod/match.php +++ b/mod/match.php @@ -1,5 +1,9 @@ <?php +// FIXME - this has never been properly ported from Friendica +// It takes keywords from your profile and queries the directory server for +// matching keywords from other profiles. + function match_content(&$a) { @@ -30,10 +34,10 @@ function match_content(&$a) { if($a->pager['page'] != 1) $params['p'] = $a->pager['page']; - if(strlen(get_config('system','directory_submit_url'))) - $x = post_url('http://dir.friendica.com/msearch', $params); - else - $x = post_url($a->get_baseurl() . '/msearch', $params); +// if(strlen(get_config('system','directory_submit_url'))) +// $x = post_url('http://dir.friendica.com/msearch', $params); +// else +// $x = post_url($a->get_baseurl() . '/msearch', $params); $j = json_decode($x); |