Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdd6d1
)
MDL-24497, hide message when maxbytes option is not explicit defined in moodle form
author
Dongsheng Cai
<unoter@gmail.com>
Mon, 4 Oct 2010 10:03:52 +0000
(10:03 +0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Mon, 4 Oct 2010 10:03:52 +0000
(10:03 +0000)
lib/outputrenderers.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/outputrenderers.php
b/lib/outputrenderers.php
index
e3fbe44
..
09cf31b
100644
(file)
--- a/
lib/outputrenderers.php
+++ b/
lib/outputrenderers.php
@@
-1920,7
+1920,7
@@
class core_renderer extends renderer_base {
$size = get_max_upload_file_size();
}
if ($size == -1) {
- $maxsize =
get_string('maxfilesize', 'moodle', 'unlimited')
;
+ $maxsize =
''
;
} else {
$maxsize = get_string('maxfilesize', 'moodle', display_size($size));
}