]> git.mxchange.org Git - friendica.git/commitdiff
Removed the special detection for facebook and app.net since both provide RSS feeds.
authorMichael Vogel <icarus@dabo.de>
Tue, 24 Mar 2015 22:08:46 +0000 (23:08 +0100)
committerMichael Vogel <icarus@dabo.de>
Tue, 24 Mar 2015 22:08:46 +0000 (23:08 +0100)
include/Scrape.php

index c2917d589355ce9e318226e6cb89a1c054bf8842..ce18bb10333f5c5dddf573c609263512716a28e3 100644 (file)
@@ -364,17 +364,6 @@ function probe_url($url, $mode = PROBE_NORMAL) {
                $network = NETWORK_TWITTER;
        }
 
-       if (strpos($url,'www.facebook.com')) {
-               $connectornetworks = true;
-               $network = NETWORK_FACEBOOK;
-       }
-
-       if (strpos($url,'alpha.app.net')) {
-               $appnet = true;
-               $network = NETWORK_APPNET;
-       }
-
-
        // Twitter is deactivated since twitter closed its old API
        //$twitter = ((strpos($url,'twitter.com') !== false) ? true : false);
        $lastfm  = ((strpos($url,'last.fm/user') !== false) ? true : false);