mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT.
This commit is contained in:
parent
2341547ccc
commit
8f95364733
1 changed files with 1 additions and 0 deletions
|
@ -732,6 +732,7 @@ class resource_portfolio_caller extends portfolio_module_caller_base {
|
||||||
case 'file':
|
case 'file':
|
||||||
// $format = portfolio_format_from_mimetype($something); // change after we switch upload type resources over to new files api.
|
// $format = portfolio_format_from_mimetype($something); // change after we switch upload type resources over to new files api.
|
||||||
}
|
}
|
||||||
|
$this->supportedformats = array($format);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __wakeup() {
|
public function __wakeup() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue