12 Commits

Author SHA1 Message Date
Rajesh Taneja
62b6135c38 MDL-34612 Restore: Gracefully handle empty section title while restoring 2013-10-22 09:47:42 +08:00
Tim Hunt
d0565885ae MDL-34727 restore UI: use checkboxes for userdata.
It was using select menus for the convenience of the code, but the
inconvenience of users.

The way this fix is done is a bit hacky, but it works, makes users'
lives much better, but it would be good if someone would dehackify
this in the future.
2012-08-07 11:36:09 +01:00
Adrian Greeve
a689cd1def MDL-34469 - lib - replacement of the deprecated get_context_instance and get_context_by_id functions (group 15) 2012-07-30 14:59:57 +08:00
Eloy Lafuente (stronk7)
b904130b5b MDL-27764 restore - always restore as much info as possible (1.9 approach)
In 2.0 we had reduced the types of restore operations where we allow
to load the section names and section descriptions, only proceeding
when restoring to new course or to existing course, deleting.

With this patch, we change to the old 1.9 way, that was to restore
the section information always, no matter of the type of restore
operation (course restore, import, to new or to existing course,
deleting or adding). The only exception is that it's always checked that
the target section names and descriptions are empty.
2012-03-05 02:41:33 +01:00
David Mudrak
f9dab4bed2 MDL-30982 Restore moodle2 files - phpDocs categorization 2012-02-27 11:59:43 +01:00
Eloy Lafuente (stronk7)
a90659d6ba DL-22146 backup & restore - course formats remaining hooks 2011-02-11 00:07:32 +01:00
Eloy Lafuente
cfea745e41 NOBUG: Restore section names and descriptions when restoring deleting. Somehow related wit Q3 @ MDL-24219 2010-09-15 10:58:13 +00:00
Sam Hemelryk
70a102385f backup MDL-23918 Fixed up wording in the backup and restore stages. 2010-08-26 05:17:46 +00:00
Eloy Lafuente
5ab8d2de39 MDL-21432 backup - let the tasks to use the steps 2010-07-27 23:40:35 +00:00
Eloy Lafuente
3223cc95c6 MDL-21432 backup - restore sections 2010-07-22 00:23:52 +00:00
Eloy Lafuente
482aac657a MDL-21432 backup - root task, inforef and users handling completed, various fixes 2010-07-14 23:59:19 +00:00
Eloy Lafuente
864842aa83 MDL-21432 backup - all sort of restore tasks 2010-07-06 22:28:38 +00:00