mirror of
https://github.com/moodle/moodle.git
synced 2025-06-04 23:25:35 +02:00
MDL-78168 mod_assign: Deprecate assign_files::preprocess
This commit is contained in:
parent
adddcf394f
commit
d66f81d2e1
@ -734,10 +734,7 @@ class assign_files implements renderable {
|
|||||||
$button->reset_formats();
|
$button->reset_formats();
|
||||||
$this->portfolioform = $button->to_html(PORTFOLIO_ADD_TEXT_LINK);
|
$this->portfolioform = $button->to_html(PORTFOLIO_ADD_TEXT_LINK);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->preprocess($this->dir, $filearea, $component);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -746,9 +743,11 @@ class assign_files implements renderable {
|
|||||||
* @param array $dir
|
* @param array $dir
|
||||||
* @param string $filearea
|
* @param string $filearea
|
||||||
* @param string $component
|
* @param string $component
|
||||||
|
* @deprecated since Moodle 4.3
|
||||||
*/
|
*/
|
||||||
public function preprocess($dir, $filearea, $component) {
|
public function preprocess($dir, $filearea, $component) {
|
||||||
// Nothing to do here any more.
|
// Nothing to do here any more.
|
||||||
|
debugging('The preprocess method has been deprecated since Moodle 4.3.', DEBUG_DEVELOPER);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user