small cleanup

This commit is contained in:
Zach Prezkuta 2012-07-10 19:28:38 -06:00
parent 1fda9e9365
commit fc6f7daf38
3 changed files with 1 additions and 14 deletions

View file

@ -3683,7 +3683,7 @@ function store_diaspora_retract_sig($item, $user, $baseurl) {
}
else {
$r = q("SELECT `nick`, `url` FROM `contact` WHERE `id` = '%d' LIMIT 1",
$item['contact-id']
$item['contact-id'] // If this function gets called, drop_item() has already checked remote_user() == $item['contact-id']
);
if(count($r)) {
// The below handle only works for NETWORK_DFRN. I think that's ok, because this function