]> git.mjollnir.org Git - moodle.git/commitdiff
group->password is now supported
authorstronk7 <stronk7>
Sun, 30 Jan 2005 12:12:06 +0000 (12:12 +0000)
committerstronk7 <stronk7>
Sun, 30 Jan 2005 12:12:06 +0000 (12:12 +0000)
backup/CHANGES_14_15.txt
backup/backuplib.php
backup/restorelib.php

index 54df8b31b2e23025044ff389c3bbcd0b5dfeb3d1..a7a3675c4e27d84ceafe7b3993075dd316367d9b 100644 (file)
@@ -14,7 +14,7 @@ Now I show the specific detailed status of every item in the process:
  4. DONE: user_students->enrol (analyse and proceed).
  5. DONE: user_teachers->enrol (analyse and proceed).
  6. DONE: user->policyagreed (analyse and proceed).
- 7. TODO: groups->password
+ 7. DONE: groups->password
  8. TODO: assignment->emailteachers
  9. TODO: exercise->usepassword and exercise->password
 10. TODO: exercise_assessments->generalcomment and teachercomment
index 58f46744751b5946ca2468e0dca521ac317f626a..5b36dc9b26d64ddff42056aec1a1de5ab871ae03 100644 (file)
                 fwrite ($bf,full_tag("COURSEID",4,false,$group->courseid));
                 fwrite ($bf,full_tag("NAME",4,false,$group->name));
                 fwrite ($bf,full_tag("DESCRIPTION",4,false,$group->description));
+                fwrite ($bf,full_tag("PASSWORD",4,false,$group->password));
                 fwrite ($bf,full_tag("LANG",4,false,$group->lang));
                 fwrite ($bf,full_tag("PICTURE",4,false,$group->picture));
                 fwrite ($bf,full_tag("HIDEPICTURE",4,false,$group->hidepicture));
index 0d4d9fa27d3af14249b60afca1197a810a28aec8..5ff936b7ba033d9b0e393a9227c88a3f957f04bc 100644 (file)
                         $gro->courseid = backup_todb($info['GROUP']['#']['COURSEID']['0']['#']);
                         $gro->name = backup_todb($info['GROUP']['#']['NAME']['0']['#']);
                         $gro->description = backup_todb($info['GROUP']['#']['DESCRIPTION']['0']['#']);
+                        $gro->password = backup_todb($info['GROUP']['#']['PASSWORD']['0']['#']);
                         $gro->lang = backup_todb($info['GROUP']['#']['LANG']['0']['#']);
                         $gro->picture = backup_todb($info['GROUP']['#']['PICTURE']['0']['#']);
                         $gro->hidepicture = backup_todb($info['GROUP']['#']['HIDEPICTURE']['0']['#']);