mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
Merge branch 'MDL-30777_t2' of git://github.com/kiklop74/moodle
This commit is contained in:
commit
90022d184e
@ -99,7 +99,7 @@ class imscc1_converter extends base_converter {
|
||||
$manifestdir = dirname($manifest);
|
||||
$cc2moodle = new cc2moodle($manifest);
|
||||
if ($cc2moodle->is_auth()) {
|
||||
throw new imscc1_convert_exception('Protected cartridge content - Skipping import!');
|
||||
throw new imscc1_convert_exception('protected_cc_not_supported');
|
||||
}
|
||||
$status = $cc2moodle->generate_moodle_xml();
|
||||
//Final cleanup
|
||||
|
@ -99,7 +99,7 @@ class imscc11_converter extends base_converter {
|
||||
$manifestdir = dirname($manifest);
|
||||
$cc112moodle = new cc112moodle($manifest);
|
||||
if ($cc112moodle->is_auth()) {
|
||||
throw new imscc11_convert_exception('Protected cartridge content - Skipping import!');
|
||||
throw new imscc11_convert_exception('protected_cc_not_supported');
|
||||
}
|
||||
$status = $cc112moodle->generate_moodle_xml();
|
||||
//Final cleanup
|
||||
|
@ -530,3 +530,5 @@ $string['wwwrootslash'] = 'Detected incorrect $CFG->wwwroot in config.php, it mu
|
||||
$string['xmldberror'] = 'XMLDB error!';
|
||||
$string['alreadyloggedin'] = 'You are already logged in as {$a}, you need to log out before logging in as different user.';
|
||||
$string['youcannotdeletecategory'] = 'You cannot delete category \'{$a}\' because you can neither delete the contents, nor move them elsewhere.';
|
||||
$string['protected_cc_not_supported'] = 'Protected cartridges not supported.';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user