Skip to content

Commit

Permalink
Adapted InitProject and GoodMorning to new comment semantics, hopeful…
Browse files Browse the repository at this point in the history
…ly fixing (parts of) #74, and #87
  • Loading branch information
Georg Kapeller committed Oct 24, 2020
1 parent 6386e93 commit 4027d4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ProjectTracker/Processor/ProjectChangeProcessorAppStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public override bool process(ProjectChangeEvent projectChangeEvent)
if (string.IsNullOrEmpty(Handler.currentProject) && projectChangeEvent.Type == ProjectChangeEvent.Types.Change)
{
projectChangeEvent.Type = ProjectChangeEvent.Types.Init;
projectChangeEvent.NewComment = "";
projectChangeEvent.WorktimeRecord = new WorktimeRecord(
DateTime.Now,
DateTime.Now,
Expand Down
1 change: 0 additions & 1 deletion ProjectTracker/Processor/ProjectChangeProcessorNewDay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public override bool process(ProjectChangeEvent projectChangeEvent)

//Hack: Just replace event data instead of refiring, because the old event is per definition invalid
projectChangeEvent.Type = ProjectChangeEvent.Types.GoodMorning;
projectChangeEvent.NewComment = "Good Morning";
projectChangeEvent.WorktimeRecord = new WorktimeRecord(
DateTime.Now,
DateTime.Now,
Expand Down

0 comments on commit 4027d4e

Please sign in to comment.