mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Re-enabling a once stopped mirroring now doesn't flood the timeline with old posts anymore.
This commit is contained in:
parent
ce0ea5434f
commit
2284e21c0a
6 changed files with 20 additions and 2 deletions
|
@ -250,6 +250,10 @@ function statusnet_settings_post ($a,$post) {
|
|||
set_pconfig(local_user(), 'statusnet', 'mirror_posts', intval($_POST['statusnet-mirror']));
|
||||
set_pconfig(local_user(), 'statusnet', 'import', intval($_POST['statusnet-import']));
|
||||
set_pconfig(local_user(), 'statusnet', 'create_user', intval($_POST['statusnet-create_user']));
|
||||
|
||||
if (!intval($_POST['statusnet-mirror']))
|
||||
del_pconfig(local_user(),'statusnet','lastid');
|
||||
|
||||
info( t('StatusNet settings updated.') . EOL);
|
||||
}}}}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue