Skip to content

Commit

Permalink
Merge branch 'MDL-28298-workshop-constant' of git://github.com/mudrd8…
Browse files Browse the repository at this point in the history
…mz/moodle
  • Loading branch information
samhemelryk committed Jul 18, 2011
2 parents 508a5bd + c8ea2c4 commit 761a000
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/workshop/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 761a000

Please sign in to comment.