Skip to content
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

[ticket/8652] Sending 2 emails on 2 replies #601

Closed
wants to merge 2 commits into from

Conversation

brunoais
Copy link
Contributor

This is a fix for the problem of the system sending 2 emails when there are 2 replies to a topic where the user is subscribed in a topic and the forum that contains the topic.
This simple fix seems to solve the problem. In simple tests I made it shows it does.

PHPBB3-8652

@bantu
Copy link
Collaborator

bantu commented Feb 29, 2012

Code looks good, I just do not like the comment. It does not explain the problem.

@brunoais
Copy link
Contributor Author

brunoais commented Mar 1, 2012

Applied the changes requested.
I hope this is what you meant.

@bantu
Copy link
Collaborator

bantu commented Mar 1, 2012

Still do not like it. We especially use the words: board, forum, topic, post.
Here is my version: bantu/phpbb@phpbb:develop-olympus...bantu:ticket/8652

@bantu
Copy link
Collaborator

bantu commented Mar 1, 2012

Also please make sure your commits follow http://wiki.phpbb.com/Git#Commit_Messages, but I can also fix that for you if you'd prefer.

@brunoais
Copy link
Contributor Author

brunoais commented Mar 2, 2012

Hum... I was thinking my commit message was correct according to the guidelines. After reading them, I'm the same.
Then... pls tell me what's wrong in my commit message. I'd like to correct (you could tell me what's wrong showing me a correct one, if you want)

@bantu
Copy link
Collaborator

bantu commented Mar 2, 2012

The commit 4cbb697 has lines longer than 80 characters per line.

This is a fix for the problem of the system sending 2 emails when there are 2
replies to a topic where the user is subscribed in a topic and the forum that
contains the topic.
This simple fix seems to solve the problem. In simple tests I made it shows
it does.

PHPBB3-8652
Changed the comment by request to a more verbose version.
This version is supposed to explain better which problem is it trying to solve
and why that code is not a bad idea to solve the problem (in therms of
performace hit caused by the extra DB query which is actually only a performance
hit if no user is subscribed to the forum that includes that thread,
which is something very rare).

PHPBB3-8652
@bantu
Copy link
Collaborator

bantu commented Mar 2, 2012

Merged as d67fae0

@bantu bantu closed this Mar 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants