MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT.

This commit is contained in:
mjollnir_ 2008-09-09 11:01:29 +00:00
parent 2341547ccc
commit 8f95364733

View file

@ -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() {