]> git.mxchange.org Git - friendica.git/commitdiff
We have to store feeds in the gcontact table ...
authorMichael Vogel <icarus@dabo.de>
Wed, 20 Apr 2016 06:27:11 +0000 (08:27 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000 (13:48 +0200)
include/socgraph.php

index 54ed62c0e5115374c39027867e69ae10e9d28574..9bbafecffff5632e9573f212f64fc272e7220b5a 100644 (file)
@@ -1408,7 +1408,7 @@ function get_gcontact_id($contact) {
 
        $gcontact_id = 0;
 
-       if (in_array($contact["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) {
+       if (in_array($contact["network"], array(NETWORK_PHANTOM))) {
                logger("Invalid network for contact url ".$contact["url"]." - Called by: ".App::callstack(), LOGGER_DEBUG);
                return false;
        }
@@ -1600,7 +1600,7 @@ function update_gcontact($contact) {
 function update_gcontact_from_probe($url) {
        $data = probe_url($url);
 
-       if (in_array($data["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) {
+       if (in_array($data["network"], array(NETWORK_PHANTOM))) {
                logger("Invalid network for contact url ".$data["url"]." - Called by: ".App::callstack(), LOGGER_DEBUG);
                return;
        }