eLearning-BS23 / moodle-auth_otp

Moodle auth_otp is a One time password (OTP) based authentication plugin.
6 stars 3 forks source link

Do not use backticks in SQL queries #3

Open tmuras opened 3 years ago

tmuras commented 3 years ago

backticks - ` used in SQL queries will only work in MySQL. Do not use them - ideally use higher level API that creating whole SQL queries (ie use $DB->update_record() instead of $DB->execute().