mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-59630_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
1afd3c72aa
17 changed files with 649 additions and 139 deletions
|
@ -45,7 +45,7 @@ class edit_model extends \moodleform {
|
|||
|
||||
$mform = $this->_form;
|
||||
|
||||
if ($this->_customdata['model']->get_model_obj()->trained == 1) {
|
||||
if ($this->_customdata['model']->is_trained()) {
|
||||
$message = get_string('edittrainedwarning', 'tool_analytics');
|
||||
$mform->addElement('html', $OUTPUT->notification($message, \core\output\notification::NOTIFY_WARNING));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue