Unverified Commit fe7eed49 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

work: only run manual checkouts in manual run

parent 4555e646
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -67,7 +67,9 @@ sub run {
		my $use_history         = $self->app->users->use_history( uid => $uid );
		my $suggestions_enabled = $use_history & 0x02;

		if ( $train_id eq 'manual' ) {
		if ( $train_id eq 'manual'
			and ( not $backend or $backend eq 'manual' ) )
		{
			if (    $arr
				and $entry->{real_arr_ts}
				and $now->epoch - $entry->{real_arr_ts} > 900 )