Skip to content


Merge branch 'MDL-61152-34' of git:// in…
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 a9c01e8 + 89d0471 commit 350e280
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions calendar/lib.php
Expand Up @@ -794,9 +794,6 @@ public function properties($prepareeditor = false) {
\coursecat::get($properties->categoryid, MUST_EXIST, true);
// Course context.
$this->editorcontext = $this->properties->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 350e280

Please sign in to comment.