[ticket/13164] Update post_visibility before event is triggered

PHPBB3-13164
[ticket/13164] Add post_visibility to core.submit_post_end event

PHPBB3-13164
[ticket/13164] Fix syntax error

PHPBB3-13164
[ticket/13171] Check the correct (soft)delete permission when deleting in MCP

PHPBB3-13171
[ticket/13181] Replace database credentials with placeholders in sphinx conf

PHPBB3-13181
Merge pull request #3042 from naderman/ticket/13181

[ticket/13181] Replace database credentials with placeholders in sphinx conf
Merge pull request #3041 from nickvergessen/ticket/13171

[ticket/13171] Check the correct (soft)delete permission when deleting in MCP
Merge pull request #3030 from Senky/ticket/13164

[ticket/13164] data sent to core.submit_post_end event does not include fresh post_visibility