-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stable12] dont send invitations for past events #5841
[stable12] dont send invitations for past events #5841
Conversation
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@georgehrke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @LukasReschke, @nickvergessen and @rullzer to be potential reviewers. |
Would be good to get this in 12.0.1... though that is late huh? @LukasReschke ? |
I've tested this and it does what the title says. Invitations are not sent for past events anymore with this fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works. 👍
/** @var ITimeFactory */ | ||
private $timeFactory; | ||
|
||
const MAX_DATE = '2038-01-01'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for this date ? Isn't this too much ?
I think these this not the right solution for the case that a user is importing his calendar(s) as in #2855. |
backport of #5304