WHERE `request-id` = %d
AND `uid` = %d LIMIT 1",
intval($request_id),
- intval(get_uid())
+ intval(local_user())
);
if(count($r)) {
);
$r = q("DELETE FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval($request_id),
- intval(get_uid())
+ intval(local_user())
);
return;
}