mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
Removed useless stuff
This commit is contained in:
parent
d6578733be
commit
b1b5815055
3 changed files with 0 additions and 34 deletions
|
@ -397,14 +397,7 @@ function diaspora_send(App $a, array &$b)
|
|||
|
||||
Logger::log('diaspora_send: requeueing '.$b['uid'], Logger::DEBUG);
|
||||
|
||||
$r = q("SELECT `id` FROM `contact` WHERE `uid` = %d AND `self`", $b['uid']);
|
||||
if (count($r))
|
||||
$a->contact = $r[0]["id"];
|
||||
|
||||
$s = serialize(['url' => $url, 'item' => $b['id'], 'post' => $body]);
|
||||
|
||||
Worker::defer();
|
||||
notice(L10n::t('Diaspora post failed. Deferred for retry.').EOL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue