]> git.mjollnir.org Git - moodle.git/commit
First version of inter-activities mantained in backup/restore.
authorstronk7 <stronk7>
Sat, 24 Apr 2004 00:40:45 +0000 (00:40 +0000)
committerstronk7 <stronk7>
Sat, 24 Apr 2004 00:40:45 +0000 (00:40 +0000)
commit56eea82e085e7c45b157fd1eb454892d9400ebc6
tree2361774d765d28e1e5658569226d1bc838f9686b
parent3f00574fc6cfd4086fe1e8bdf740f305e08ec409
First version of inter-activities mantained in backup/restore.
All the conversion to some pseudo-codes are done at backup time.
In the restore process, every link is decoded to new ids.
For now, this is supported:
- In backup:
  -all links to forums are encoded.
- In restore:
  - all links to forums are decoded.
      - from forums (post->message).
      - from resources (resource->alltext).
The process requires a backup made with the same version (because it
has to be properly encoded at backup time). Old backups will work
without conversions at all.
Only tested with some little courses.
It would be perfect to have some "big" course to test it.
Please, test and feedback, ciao :-)
backup/STATUS.txt
backup/backuplib.php
backup/restore_execute.html
backup/restorelib.php
backup/version.php
mod/forum/backuplib.php
mod/forum/restorelib.php