Skip to content

Commit

Permalink
Merge pull request #2334 from HebaruSan/feature/netkan-support-tickets
Browse files Browse the repository at this point in the history
Actually skip when last comment is by OP
  • Loading branch information
techman83 committed Feb 28, 2018
2 parents 6b8d208 + 8868e76 commit b75a450
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/close-old-support-tickets.pl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
my $last_comment = $comments[$num_comments - 1];
if ($last_comment->{user}{login} eq $author) {
say "Skipped (author comment) : $title";
next;
}

my $last_update = str2time($candidate->{updated_at});
Expand Down

0 comments on commit b75a450

Please sign in to comment.