Hi, Michael Stefaniuc wrote: >But I see that even the whole functionality can move to a helper. That's not a good idea: While the code currently contains two identical pieces of code, it is actually bogus because the capture part should *not* store current time rather than get *recorded* time.
Thus the code looks like there's something that could be refactored, but that would be the wrong refactoring. Regards, Jörg Höhle