MDL-71062 core: Step 1 deprecation of print_error function
This commit is contained in:
@@ -76,9 +76,9 @@
|
||||
* $a = new stdClass();
|
||||
* $a->url = 'https://download.moodle.org/langpack/2.0/es.zip';
|
||||
* $a->dest= $CFG->dataroot.'/lang';
|
||||
* print_error($cd->get_error(), 'error', '', $a);
|
||||
* throw new \moodle_exception($cd->get_error(), 'error', '', $a);
|
||||
* } else {
|
||||
* print_error($cd->get_error(), 'error');
|
||||
* throw new \moodle_exception($cd->get_error(), 'error');
|
||||
* }
|
||||
* break;
|
||||
* case COMPONENT_UPTODATE:
|
||||
|
||||
Reference in New Issue
Block a user