Update the gcontact entry when the contact entry is checked for updates
This commit is contained in:
parent
253ba45c1a
commit
a4da9fb55d
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
require_once("include/Scrape.php");
|
require_once("include/Scrape.php");
|
||||||
|
require_once("include/socgraph.php");
|
||||||
|
|
||||||
function update_contact($id) {
|
function update_contact($id) {
|
||||||
/*
|
/*
|
||||||
|
@ -43,6 +44,9 @@ function update_contact($id) {
|
||||||
intval($id)
|
intval($id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Update the corresponding gcontact entry
|
||||||
|
poco_last_updated($ret["url"]);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue