]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #1448 from annando/issue1432
authorfabrixxm <fabrix.xm@gmail.com>
Wed, 25 Mar 2015 10:13:50 +0000 (11:13 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Wed, 25 Mar 2015 10:13:50 +0000 (11:13 +0100)
Removed the special detection for facebook and app.net

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);