projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2341547
)
MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT.
author
mjollnir_
<mjollnir_>
Tue, 9 Sep 2008 11:01:29 +0000
(11:01 +0000)
committer
mjollnir_
<mjollnir_>
Tue, 9 Sep 2008 11:01:29 +0000
(11:01 +0000)
mod/resource/lib.php
patch
|
blob
|
history
diff --git
a/mod/resource/lib.php
b/mod/resource/lib.php
index e12795179275e5e460a438a5f33066edc7dc771c..a537422fcf1b71b05f12fe388d0d48b2b1f9fe6a 100644
(file)
--- a/
mod/resource/lib.php
+++ b/
mod/resource/lib.php
@@
-732,6
+732,7
@@
class resource_portfolio_caller extends portfolio_module_caller_base {
case 'file':
// $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() {