Skip to content

Commit

Permalink
Merge branch 'MDL-61152-master' of git://github.com/junpataleta/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao authored and snake committed Feb 1, 2018
2 parents 237bc01 + 3894262 commit 54c51cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions calendar/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,6 @@ public function properties($prepareeditor = false) {
\coursecat::get($properties->categoryid, MUST_EXIST, true);
// Course context.
$this->editorcontext = $this->get_context();
// We have a course and are within the course context so we had
// better use the courses max bytes value.
$this->editoroptions['maxbytes'] = $course->maxbytes;
} else {
// If we get here we have a custom event type as used by some
// modules. In this case the event will have been added by
Expand Down

0 comments on commit 54c51cc

Please sign in to comment.