mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-20065 Fixing a wierd typo RESOURCE_LEGACYYFILES_DONE ==> RESOURCELIB_LEGACYFILES_DONE
This commit is contained in:
parent
adb7032b98
commit
42439c0572
@ -41,7 +41,7 @@ define('RESOURCELIB_DISPLAY_POPUP', 6);
|
||||
/** Legacy files not needed or new resource */
|
||||
define('RESOURCELIB_LEGACYFILES_NO', 0);
|
||||
/** Legacy files conversion marked as completed */
|
||||
define('RESOURCE_LEGACYYFILES_DONE', 1);
|
||||
define('RESOURCELIB_LEGACYFILES_DONE', 1);
|
||||
/** Legacy files conversion in progress*/
|
||||
define('RESOURCELIB_LEGACYFILES_ACTIVE', 2);
|
||||
|
||||
|
@ -100,7 +100,7 @@ class mod_page_mod_form extends moodleform_mod {
|
||||
|
||||
// add legacy files flag only if used
|
||||
if (isset($this->current->legacyfiles) and $this->current->legacyfiles != RESOURCELIB_LEGACYFILES_NO) {
|
||||
$options = array(RESOURCE_LEGACYYFILES_DONE => get_string('legacyfilesdone', 'page'),
|
||||
$options = array(RESOURCELIB_LEGACYFILES_DONE => get_string('legacyfilesdone', 'page'),
|
||||
RESOURCELIB_LEGACYFILES_ACTIVE => get_string('legacyfilesactive', 'page'));
|
||||
$mform->addElement('select', 'legacyfiles', get_string('legacyfiles', 'page'), $options);
|
||||
$mform->setAdvanced('legacyfiles', 1);
|
||||
|
@ -137,7 +137,7 @@ class mod_resource_mod_form extends moodleform_mod {
|
||||
|
||||
// add legacy files flag only if used
|
||||
if (isset($this->current->legacyfiles) and $this->current->legacyfiles != RESOURCELIB_LEGACYFILES_NO) {
|
||||
$options = array(RESOURCE_LEGACYYFILES_DONE => get_string('legacyfilesdone', 'resource'),
|
||||
$options = array(RESOURCELIB_LEGACYFILES_DONE => get_string('legacyfilesdone', 'resource'),
|
||||
RESOURCELIB_LEGACYFILES_ACTIVE => get_string('legacyfilesactive', 'resource'));
|
||||
$mform->addElement('select', 'legacyfiles', get_string('legacyfiles', 'resource'), $options);
|
||||
$mform->setAdvanced('legacyfiles', 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user