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
|
@ -71,6 +71,10 @@ function fromgplus_addon_settings_post(&$a,&$b) {
|
|||
set_pconfig(local_user(),'fromgplus','account',trim($_POST['fromgplus-account']));
|
||||
$enable = ((x($_POST,'fromgplus-enable')) ? intval($_POST['fromgplus-enable']) : 0);
|
||||
set_pconfig(local_user(),'fromgplus','enable', $enable);
|
||||
|
||||
if (!$enable)
|
||||
del_pconfig(local_user(),'fromgplus','lastdate');
|
||||
|
||||
info( t('Google+ Import Settings saved.') . EOL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue