atlet/moodle-local_badgecerts

MySQL specific SQL syntax

Closed this issue · 0 comments

The queries use certain functions such as IF() that are not cross-compatible (this one does not exist on PostgreSQL for example).
In Moodle it is essential to use cross-db syntax that works on all supported databases.

https://docs.moodle.org/dev/Plugin_contribution_checklist#Cross-DB_compatibility