Re-enabling a once stopped mirroring now doesn't flood the timeline with old posts anymore.

This commit is contained in:
Michael Vogel 2014-05-29 22:10:54 +02:00
parent ce0ea5434f
commit 2284e21c0a
6 changed files with 20 additions and 2 deletions

View file

@ -326,7 +326,7 @@ function pumpio_settings_post(&$a,&$b) {
set_pconfig(local_user(),'pumpio','post_by_default',intval($_POST['pumpio_bydefault']));
if (!$_POST['pumpio_mirror'])
set_pconfig(local_user(),'pumpio','lastdate', $lastdate);
del_pconfig(local_user(),'pumpio','lastdate');
//header("Location: ".$a->get_baseurl()."/pumpio/connect");
}