MDL-24497, hide message when maxbytes option is not explicit defined in moodle form
authorDongsheng Cai <unoter@gmail.com>
Mon, 4 Oct 2010 10:03:52 +0000 (10:03 +0000)
committerDongsheng Cai <unoter@gmail.com>
Mon, 4 Oct 2010 10:03:52 +0000 (10:03 +0000)
lib/outputrenderers.php

index e3fbe44..09cf31b 100644 (file)
@@ -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));
         }