aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-21 19:40:25 -0800
committerfriendica <info@friendica.com>2013-01-21 19:40:25 -0800
commit4119e1f9cc9ebb6a45ec69fd23c1262b3f823c3a (patch)
tree1ce3be8a257c62eb0f1ebd18b8af8deaf5849ac5 /include/contact_widgets.php
parent5949607d17bceb51d61c73b5c0dbc0fcc063bd04 (diff)
downloadvolse-hubzilla-4119e1f9cc9ebb6a45ec69fd23c1262b3f823c3a.tar.gz
volse-hubzilla-4119e1f9cc9ebb6a45ec69fd23c1262b3f823c3a.tar.bz2
volse-hubzilla-4119e1f9cc9ebb6a45ec69fd23c1262b3f823c3a.zip
testing begins
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 47945e66e..cb3dc0740 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -116,23 +116,23 @@ function common_friends_visitor_widget($profile_uid) {
}
// FIXME
- if(! $cid) {
- if(get_my_url()) {
- $r = q("select id from contact where nurl = '%s' and uid = %d limit 1",
- dbesc(normalise_link(get_my_url())),
- intval($profile_uid)
- );
- if(count($r))
- $cid = $r[0]['id'];
- else {
- $r = q("select id from gcontact where nurl = '%s' limit 1",
- dbesc(normalise_link(get_my_url()))
- );
- if(count($r))
- $zcid = $r[0]['id'];
- }
- }
- }
+// if(! $cid) {
+// if(get_my_url()) {
+// $r = q("select id from contact where nurl = '%s' and uid = %d limit 1",
+// dbesc(normalise_link(get_my_url())),
+// intval($profile_uid)
+// );
+// if(count($r))
+// $cid = $r[0]['id'];
+// else {
+// $r = q("select id from gcontact where nurl = '%s' limit 1",
+// dbesc(normalise_link(get_my_url()))
+// );
+// if(count($r))
+// $zcid = $r[0]['id'];
+// }
+// }
+// }
if($cid == 0 && $zcid == 0)
return;