mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +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
|
@ -194,7 +194,11 @@ function twitter_settings_post ($a,$post) {
|
|||
set_pconfig(local_user(), 'twitter', 'mirror_posts', intval($_POST['twitter-mirror']));
|
||||
set_pconfig(local_user(), 'twitter', 'import', intval($_POST['twitter-import']));
|
||||
set_pconfig(local_user(), 'twitter', 'create_user', intval($_POST['twitter-create_user']));
|
||||
info( t('Twitter settings updated.') . EOL);
|
||||
|
||||
if (!intval($_POST['twitter-mirror']))
|
||||
del_pconfig(local_user(),'twitter','lastid');
|
||||
|
||||
info(t('Twitter settings updated.') . EOL);
|
||||
}}
|
||||
}
|
||||
function twitter_settings(&$a,&$s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue