mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:10:11 +00:00
Only update if there is a change
This commit is contained in:
parent
0083c16e87
commit
1cc50a80f4
2 changed files with 24 additions and 4 deletions
|
@ -2200,6 +2200,10 @@ function update_gcontact($contact) {
|
|||
$contact["updated"] = dbm::date();
|
||||
}
|
||||
|
||||
if ($contact["network"] == NETWORK_TWITTER) {
|
||||
$contact["server_url"] = 'http://twitter.com';
|
||||
}
|
||||
|
||||
if ($contact["server_url"] == "") {
|
||||
$data = Probe::uri($contact["url"]);
|
||||
if ($data["network"] != NETWORK_PHANTOM) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue