Skip to content
Browse files

Merge branch 'MDL-28298-workshop-constant_20_STABLE' of git://github.…

…com/mudrd8mz/moodle into MOODLE_20_STABLE
  • Loading branch information...
2 parents 07ea543 + c7c8366 commit ab93b029191f038a17946cb2bc93d6c0fd3a529d @samhemelryk samhemelryk committed Jul 19, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/workshop/locallib.php
View
3 mod/workshop/locallib.php
@@ -216,10 +216,11 @@ public static function installed_allocators() {
* Returns an array of options for the editors that are used for submitting and assessing instructions
*
* @param stdClass $context
+ * @uses EDITOR_UNLIMITED_FILES hard-coded value for the 'maxfiles' option
* @return array
*/
public static function instruction_editors_options(stdclass $context) {
- return array('subdirs' => 1, 'maxbytes' => 0, 'maxfiles' => EDITOR_UNLIMITED_FILES,
+ return array('subdirs' => 1, 'maxbytes' => 0, 'maxfiles' => -1,
'changeformat' => 1, 'context' => $context, 'noclean' => 1, 'trusttext' => 0);
}

0 comments on commit ab93b02

Please sign in to comment.
Something went wrong with that request. Please try again.