MDL-45934 backup: do not reset completion enabled flag
authorDan Poltawski <dan@moodle.com>
Wed, 18 Nov 2015 11:45:45 +0000 (11:45 +0000)
committerDan Poltawski <dan@moodle.com>
Wed, 18 Nov 2015 11:45:45 +0000 (11:45 +0000)
commit65b26a461e028429dda21f30f9203f3fc64df3bc
treed070ef0ab53874a03c4a5385def198aead622c67
parent26653c8b5c69879e9ff166055d96c5b0b6fcaf17
MDL-45934 backup: do not reset completion enabled flag

The 'completion enabled' flag does not reflect any course data, its a
course setting. Previously when doing a backup deleteting existing
course content this was forced off when it should not have been.
lib/moodlelib.php