General developer forum

Cannot write to database error when setting up trigger on mdl_user

 
Picture of Dan Marsden
Re: Cannot write to database error when setting up trigger on mdl_user
Core developersMoodle Course Creator Certificate holdersParticularly helpful MoodlersPlugin developersPlugins guardiansTestersTranslators

why don't you use one of the cohort plugins to do this instead?

this one lets you look at the "auth" field:

https://moodle.org/plugins/auth_mcae

or this one might do it too:

https://moodle.org/plugins/local_profilecohort

 
Average of ratings: -