mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Diaspora: Support account migration
This commit is contained in:
parent
6a7b3f19ae
commit
09020192d6
4 changed files with 72 additions and 20 deletions
|
@ -149,7 +149,8 @@ function notifier_run(&$argv, &$argc){
|
|||
$relocate = true;
|
||||
$uid = $item_id;
|
||||
|
||||
$recipients_relocate = q("SELECT * FROM contact WHERE uid = %d AND self = 0 AND network = '%s'" , intval($uid), NETWORK_DFRN);
|
||||
$recipients_relocate = q("SELECT * FROM `contact` WHERE `uid` = %d AND NOT `self` AND `network` IN ('%s', '%s')",
|
||||
intval($uid), NETWORK_DFRN, NETWORK_DIASPORA);
|
||||
} else {
|
||||
// find ancestors
|
||||
$r = q("SELECT * FROM `item` WHERE `id` = %d AND visible = 1 AND moderated = 0 LIMIT 1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue