General developer forum

enrol plugin backup procedure problem

Picture of Arek Juszczyk
enrol plugin backup procedure problem

Hello All,

I have a problem with my plugin backup procedure. The plugin is a copy of enrol lti (Moodle v 3.1) but it creates a new course based on a template one when first clicked on the connection link in the tool consumer.

My problem is that the backup works for the original LTI plugin but not mine. I haven't changed the code except the file name, class name, source table name to populate the data. If I comment out the code in the original LTI plugin then my code works.

I'm sure I'm missing something obvious but I as I'm fresh to Moodle I can't figure it out.

Thank you,



Average of ratings: -