Commit Graph

747 Commits

Author SHA1 Message Date
tjhunt 0b17d072cf Eliminate bizarre use of function_exists. 2007-03-13 17:42:51 +00:00
moodler 1081ccc99b back porting MDL-8681 course import creates duplicate role into 1.7 2007-03-09 02:41:48 +00:00
stronk7 01be5c29cc Skipping thousands of require_once() calls because PHP5
is really slow (and heavy) with them. MDL-8700
2007-03-02 09:39:50 +00:00
mjollnir_ 731f877fdb Merged from MOODLE_16_STABLE: fixing bug MDL-8651: import course data should clean up after itself 2007-03-02 01:43:15 +00:00
moodler 156f63c804 applying nick's patch to MDL-8534, typo in restorelib.php 2007-02-20 01:02:32 +00:00
skodak a9fd5db642 MDL-7722 fixed wrong cleaning in backup paths; backported from HEAD 2007-02-15 10:06:10 +00:00
stronk7 cf507be4c0 PHP 4 assignment is by value so course_header (containing edited names)
wasn't being modified. MDL-8298
2007-02-14 23:50:04 +00:00
stronk7 9982cf19c9 Avoiding some itarations. MDL-7902. Thanks Samuli! 2007-01-14 12:10:37 +00:00
vyshane fa1df4db7b Fixed some warnings with role mappings. 2006-12-19 04:59:42 +00:00
toyomoyo fe2f0270d3 fix for MDL-7773, restore_to options not set for creators 2006-12-04 01:13:35 +00:00
skodak b2a39ba822 fixed problem with apostrophe in role names and description when creating roles during install and restore MDL-7611; backported from HEAD 2006-11-20 14:11:39 +00:00
stronk7 ef02670d09 Simple bump 2006-11-06 17:43:28 +00:00
toyomoyo 7bbe252c59 restore fix for supporting pre granular version of moodle backups 2006-11-01 03:31:02 +00:00
skodak a7d6e5b0f7 fixed notice during restore 2006-10-31 22:45:28 +00:00
toyomoyo cc1b52fddf removing evil semicolon 2006-10-31 07:32:21 +00:00
stronk7 72a4c9a290 Updating backup release to 1.7 final (to avoid forgetting it) 2006-10-28 11:02:09 +00:00
stronk7 3c5f492e9d Deprecating old "upgrade" files. MDL-7214 2006-10-26 22:25:21 +00:00
stronk7 c8bf751abf New upgrade.php file added for this module. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 15:44:50 +00:00
stronk7 01cd957389 Deleting some old oci8po files from CVS. 2006-10-21 18:31:00 +00:00
tjhunt 2620831e61 Missing addslashes. 2006-10-19 10:22:38 +00:00
thompson697 95df21e3ae Apply modularity to the creation of the log file during restore to a new course.
Remove the responsibility for loging the application of the course start date offset,
from activity modules to the backup module.
2006-10-16 10:40:48 +00:00
toyomoyo c0234d300b fix warnings during restore 2006-10-13 02:53:03 +00:00
toyomoyo 52657c4298 fixing warnings 2006-10-12 08:32:16 +00:00
toyomoyo e67dfebaca fixing notices 2006-10-12 06:57:39 +00:00
toyomoyo 42a5861017 getting rid of wawrnings 2006-10-12 02:13:06 +00:00
toyomoyo e4db399ca5 fix for MDL-6900 2006-10-11 07:38:14 +00:00
toyomoyo 8bf4dbe31c just in case you don't have roles assignable 2006-10-11 06:34:22 +00:00
toyomoyo beba128f6d fix for MDL-6831 2006-10-10 03:17:49 +00:00
skodak d8247de55e problem with incorrect redirect url - wwwroot without the trailning slash in not standard compliant MDL-6193 2006-10-08 18:55:18 +00:00
skodak badc7070cd removed obsoleted backup configuration scripts 2006-10-08 09:51:22 +00:00
skodak 57f1b91497 fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135 2006-10-07 20:47:54 +00:00
stronk7 10f36d68e8 Avoid some notices. Part of MDL-6854 2006-10-05 19:29:39 +00:00
toyomoyo 013b90ed92 a few fixes, for MDL-6836, MDL-6835, and MDL-6765 2006-10-05 04:05:07 +00:00
thompson697 eb87ac71c5 Change creation of restorelog file location to protected backupdata folder.
Reassign style and language links
2006-10-04 14:50:50 +00:00
tjhunt 834e58a9d2 Fix indent. 2006-10-04 10:39:42 +00:00
toyomoyo c0c98c7c78 fixing roles support for backup/restore 2006-10-04 09:01:50 +00:00
vyshane e0539647aa Added $restore->mods[$mod->type]->granular to restore_create_sections() and to restore_create_modules(). This defines whether we are doing a granular restore where we care about the individual module instances to be restored, or whether we are not doing a granular restore, in which case we just restore all course module instances. 2006-10-04 08:35:00 +00:00
toyomoyo 5e67946d6c adding support for 1.6->1.7 backups 2006-10-03 08:54:46 +00:00
toyomoyo 8020a0162f roles and capability support for backups. role mapping is in, please help test, thanks 2006-10-02 08:49:07 +00:00
toyomoyo 89a66e5405 changes in backup/restore for roles. fixed bug related to wrong context in backuplib.php added code to handle addition of new roles in restorelib.php, added code to do role overrides in restore.php new functionalities requires proper handling 2006-09-28 09:15:14 +00:00
toyomoyo a2a020ea6b adding support for roles in backups 2006-09-27 08:59:27 +00:00
toyomoyo 1ad590e153 more changes, restoring of role assignments now work in course, mods and blocks instances (less user instance), restoring local overrides do not work 2006-09-26 09:05:44 +00:00
toyomoyo 912c1fd5a2 correct xml parsing for mod level assignment and override 2006-09-26 06:02:10 +00:00
toyomoyo 637644fbd1 fixing a get_record bug (multiple instances) 2006-09-26 04:10:33 +00:00
toyomoyo 71dd89ff09 fixing missing $ 2006-09-26 01:50:17 +00:00
toyomoyo 4c81f5511e adding roles support for restore 2006-09-26 01:43:07 +00:00
moodler cfd6b5053f Fix for typo MDL-6537 2006-09-26 01:11:53 +00:00
toyomoyo 3f1c7233c7 restore is NOT WORKING!!! role assignment and capability overrides are not in 2006-09-25 09:10:19 +00:00
toyomoyo 65c6fd8b2d backup changes for roles 2006-09-22 08:56:25 +00:00
toyomoyo c58adde069 fixing bogus function calls 2006-09-22 01:49:23 +00:00