Diaspora: Relayed retraction hadn't worked.
This commit is contained in:
parent
b4b2a6d5b8
commit
e43a90252c
1 changed files with 0 additions and 6 deletions
|
@ -2117,12 +2117,6 @@ class diaspora {
|
||||||
if (!$r)
|
if (!$r)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Only delete it if the author really fits
|
|
||||||
if (!link_compare($r[0]["author-link"], $person["url"])) {
|
|
||||||
logger("Item author ".$r[0]["author-link"]." doesn't fit to expected contact ".$person["url"], LOGGER_DEBUG);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check if the sender is the thread owner
|
// Check if the sender is the thread owner
|
||||||
$p = q("SELECT `id`, `author-link`, `origin` FROM `item` WHERE `id` = %d",
|
$p = q("SELECT `id`, `author-link`, `origin` FROM `item` WHERE `id` = %d",
|
||||||
intval($r[0]["parent"]));
|
intval($r[0]["parent"]));
|
||||||
|
|
Loading…
Reference in a new issue