- if (($location != "") OR ($about != "") OR ($keywords != "") OR ($gender != ""))
- q("UPDATE `contact` SET `location` = '%s', `about` = '%s', `keywords` = '%s', `gender` = '%s'
- WHERE `nurl` = '%s' AND NOT `self` AND `network` = '%s'",
- dbesc($location),
- dbesc($about),
- dbesc($keywords),
- dbesc($gender),
- dbesc(normalise_link($profile_url)),
- dbesc(NETWORK_DFRN));
+ // Deactivated because we now update Friendica contacts in dfrn.php
+ //if (($location != "") OR ($about != "") OR ($keywords != "") OR ($gender != ""))
+ // q("UPDATE `contact` SET `location` = '%s', `about` = '%s', `keywords` = '%s', `gender` = '%s'
+ // WHERE `nurl` = '%s' AND NOT `self` AND `network` = '%s'",
+ // dbesc($location),
+ // dbesc($about),
+ // dbesc($keywords),
+ // dbesc($gender),
+ // dbesc(normalise_link($profile_url)),
+ // dbesc(NETWORK_DFRN));