Hello,
This is a post for the Moodle developers,
I don't know if this function is still used, but I think that $modename
must be $mod->modname for the preferences of the modules instances ?
File:
<?php //$Id: backup_scheduled.php,v 1.30.2.3 2006/06/07 22:17:31
stronk7 Exp $
...
schedule_backup_course_configure(){
around line 400
// now set instances
...
$preferences->mods[$mod->modname]->instances[$mod->instance]->backup
= $preferences->mods[$modname]->backup;
$preferences->mods[$mod->modname]->instances[$mod->instance]->userinfo
= $preferences->mods[$modname]->userinfo;
Best regards
Jean-Luc
backup_scheduled.php, schedule_backup_course_configure(), set the backup preferences
by Thirot Jean-Luc -
Number of replies: 1
In reply to Thirot Jean-Luc
Re: backup_scheduled.php, schedule_backup_course_configure(), set the backup preferences
Hi Jean-Luc,
tons of thanks for your report. You were right! That annoying bug was really there (and, for sure, causing problems to the scheduled course backup utility).
Now it's fixed, both in 1.6.1+ and 1.7dev.
Thanks again, ciao, Eloy
tons of thanks for your report. You were right! That annoying bug was really there (and, for sure, causing problems to the scheduled course backup utility).
Now it's fixed, both in 1.6.1+ and 1.7dev.
Thanks again, ciao, Eloy