Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68150a
)
MDL-61152 calendar: Remove usage of undefined variable
author
Jun Pataleta
<jun@moodle.com>
Thu, 4 Jan 2018 07:06:07 +0000
(15:06 +0800)
committer
Jun Pataleta
<jun@moodle.com>
Tue, 23 Jan 2018 02:49:18 +0000
(10:49 +0800)
calendar/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/calendar/lib.php
b/calendar/lib.php
index
6be5dc5
..
0879883
100644
(file)
--- a/
calendar/lib.php
+++ b/
calendar/lib.php
@@
-808,9
+808,6
@@
class calendar_event {
\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