removed own debug lines (no more needed).
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
036edc2fd0
commit
042ed17826
|
@ -449,13 +449,9 @@ function dfrn_request_post(&$a) {
|
||||||
$data = probe_url($url);
|
$data = probe_url($url);
|
||||||
$network = $data["network"];
|
$network = $data["network"];
|
||||||
|
|
||||||
logger('dfrn_request: url=' . $url . ',network=' . $network . ',hcard=' . $hcard . ' - BEFORE!', LOGGER_DEBUG);
|
|
||||||
|
|
||||||
// Canonicalise email-style profile locator
|
// Canonicalise email-style profile locator
|
||||||
$url = Probe::webfinger_dfrn($url,$hcard);
|
$url = Probe::webfinger_dfrn($url,$hcard);
|
||||||
|
|
||||||
logger('dfrn_request: url=' . $url . ',network=' . $network . ',hcard=' . $hcard . ' - AFTER!', LOGGER_DEBUG);
|
|
||||||
|
|
||||||
if (substr($url,0,5) === 'stat:') {
|
if (substr($url,0,5) === 'stat:') {
|
||||||
|
|
||||||
// Every time we detect the remote subscription we define this as OStatus.
|
// Every time we detect the remote subscription we define this as OStatus.
|
||||||
|
@ -469,8 +465,6 @@ function dfrn_request_post(&$a) {
|
||||||
$network = NETWORK_DFRN;
|
$network = NETWORK_DFRN;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger('dfrn_request: url: ' . $url . ',network=' . $network, LOGGER_DEBUG);
|
|
||||||
|
|
||||||
if($network === NETWORK_DFRN) {
|
if($network === NETWORK_DFRN) {
|
||||||
$ret = q("SELECT * FROM `contact` WHERE `uid` = %d AND `url` = '%s' AND `self` = 0 LIMIT 1",
|
$ret = q("SELECT * FROM `contact` WHERE `uid` = %d AND `url` = '%s' AND `self` = 0 LIMIT 1",
|
||||||
intval($uid),
|
intval($uid),
|
||||||
|
|
Loading…
Reference in a new issue