forked from friendica/friendica-addons
12 lines
337 B
PHP
12 lines
337 B
PHP
"SELECT `uid` FROM `contact` WHERE `id` = %d AND `reason` = 'publicise'", intval($item['contact-id']));
|
|
if (!$r1) {
|
|
return;
|
|
}
|
|
|
|
Logger::debug('Publicise: moving to wall: ' . $item['uid'] . ' ' . $item['contact-id'] . ' ' . $item['uri']);
|
|
$item['type'] = 'wall';
|
|
$item['wall'] = 1;
|
|
$item['private'] = 0;
|
|
}
|
|
|