]> git.mxchange.org Git - friendica.git/commitdiff
Update the gcontact entry when the contact entry is checked for updates
authorMichael Vogel <icarus@dabo.de>
Sat, 13 Feb 2016 13:09:08 +0000 (14:09 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 13 Feb 2016 13:09:08 +0000 (14:09 +0100)
include/follow.php

index 22ff079b633949b941201d1578dd47e770b76670..410e0e58aaa484a9b2a435f3d3f7a8d7d1a1bfc2 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 require_once("include/Scrape.php");
+require_once("include/socgraph.php");
 
 function update_contact($id) {
        /*
@@ -43,6 +44,9 @@ function update_contact($id) {
                intval($id)
        );
 
+       // Update the corresponding gcontact entry
+       poco_last_updated($ret["url"]);
+
        return true;
 }