DB/Conditions: Fix a condition in earlier commit
DB/SAI: Convert 28.236 smart_scripts (almost all, like 20 left behind) to proper commenting. Used this tool: https://github.com/Discover-/SAI-Comment-Converter
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
SQL: LQS elif emaneR
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
DB/SAI: Fix a typo for all comments of smart_scripts using SMART_ACTION_INC_EVENT_PHASE (9ac96fd702d8ed23491d13eda2238312120cf52f). It now properly prints with how much the phase was incremented, instead of always saying it incremented by zero.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
Core/Auth: Fix expiring account bans

Fix a database race condition in authserver that would delay the account ban expiry by 1 login because the query that would have removed the ban was executed asynchronously.
Merge branch 'master' of github.com:TrinityCore/TrinityCore
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb
DB/SAI: Converted a few SAI to use CMC and converted all using Caster Template.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into ghbb