forked from GNUsocial/gnu-social
Linkback plugin does pingback by default
We do pingback by default for the linkback plugin.
This commit is contained in:
parent
d1f2e68133
commit
a4919eab6a
@ -105,12 +105,13 @@ class LinkbackPlugin extends Plugin
|
||||
$pb = $match[1];
|
||||
}
|
||||
|
||||
if (!empty($pb)) {
|
||||
$this->pingback($result->final_url, $pb);
|
||||
} else {
|
||||
$tb = $this->getTrackback($result->body, $result->final_url);
|
||||
|
||||
if (!empty($tb)) {
|
||||
$this->trackback($result->final_url, $tb);
|
||||
} else if (!empty($pb)) {
|
||||
$this->pingback($result->final_url, $pb);
|
||||
}
|
||||
}
|
||||
|
||||
return $orig;
|
||||
|
Loading…
Reference in New Issue
Block a user