turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
GNU General Public License v3.0
45 stars 69 forks source link

Deprecation warnings in Moodle 3.9 #509

Closed rlorenzo closed 4 years ago

rlorenzo commented 4 years ago

When running the latest Moodle 3.9 code we are seeing these deprecation warnings:

The setting plagiarism:turnitin_use is deprecated. Use plagiarism_turnitin:enabled instead line 204 of /lib/plagiarismlib.php: call to debugging() line 121 of /lib/plagiarismlib.php: call to plagiarism_load_available_plugins() line 192 of /mod/assign/mod_form.php: call to plagiarism_get_form_elements_module() line 218 of /lib/formslib.php: call to mod_assign_mod_form->definition() line 130 of /course/moodleform_mod.php: call to moodleform->__construct() line 141 of /course/modedit.php: call to moodleform_mod->__construct()

plagiarism_plugin::get_form_elements_module() is deprecated. Use plagiarism_turnitin_coursemodule_standard_elements() instead line 131 of /lib/plagiarismlib.php: call to debugging() line 192 of /mod/assign/mod_form.php: call to plagiarism_get_form_elements_module() line 218 of /lib/formslib.php: call to mod_assign_mod_form->definition() line 130 of /course/moodleform_mod.php: call to moodleform->__construct() line 141 of /course/modedit.php: call to moodleform_mod->__construct()

See MDL-67872 - deprecate and fix plagiarismlib use of config vars

danmarsden commented 4 years ago

this partly duplicates #448 :-)

rlorenzo commented 4 years ago

Closing since this is covered in another ticket.