]> git.mxchange.org Git - friendica.git/commitdiff
Just removing unused codelines
authorMichael Vogel <icarus@dabo.de>
Mon, 16 Feb 2015 21:28:24 +0000 (22:28 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 16 Feb 2015 21:28:24 +0000 (22:28 +0100)
include/Scrape.php

index fa2d479e92114b3e4275953510064eb96d4812d3..c2917d589355ce9e318226e6cb89a1c054bf8842 100644 (file)
@@ -806,12 +806,10 @@ function probe_url($url, $mode = PROBE_NORMAL) {
        logger('probe_url: ' . print_r($result,true), LOGGER_DEBUG);
 
        // Trying if it maybe a diaspora account
-       //if (($result['network'] == NETWORK_FEED) OR (($result['addr'] == "") AND ($result['network'] != NETWORK_OSTATUS))) {
        if (($result['network'] == NETWORK_FEED) OR ($result['addr'] == "")) {
                require_once('include/bbcode.php');
                $address = GetProfileUsername($url, "", true);
                $result2 = probe_url($address, $mode);
-               //$result2 = probe_url($address, PROBE_DIASPORA);
                if ($result2['network'] != "")
                        $result = $result2;
        }