Skip to content

Commit 38e4fa5

Browse files
committed
MDL-37101 donot use donot.
1 parent 0ed03cc commit 38e4fa5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

calendar/externallib.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public static function get_calendar_events($events = array(), $options = array()
179179
if (in_array($id, $courses)) {
180180
$funcparam['courses'][] = $id;
181181
} else {
182-
$warnings[] = array('item' => $id, 'warningcode' => 'nopermissions', 'message' => 'you donot have permissions to access this course');
182+
$warnings[] = array('item' => $id, 'warningcode' => 'nopermissions', 'message' => 'you do not have permissions to access this course');
183183
}
184184
}
185185
} else {
@@ -195,7 +195,7 @@ public static function get_calendar_events($events = array(), $options = array()
195195
if (in_array($id, $groups)) {
196196
$funcparam['groups'][] = $id;
197197
} else {
198-
$warnings[] = array('item' => $id, 'warningcode' => 'nopermissions', 'message' => 'you donot have permissions to access this group');
198+
$warnings[] = array('item' => $id, 'warningcode' => 'nopermissions', 'message' => 'you do not have permissions to access this group');
199199
}
200200
}
201201
} else {
@@ -248,7 +248,7 @@ public static function get_calendar_events($events = array(), $options = array()
248248
(calendar_edit_event_allowed($eventid))) {
249249
$events[$eventid] = $event;
250250
} else {
251-
$warnings[] = array('item' => $eventid, 'warningcode' => 'nopermissions', 'message' => 'you donot have permissions to view this event');
251+
$warnings[] = array('item' => $eventid, 'warningcode' => 'nopermissions', 'message' => 'you do not have permissions to view this event');
252252
}
253253
}
254254
}
@@ -359,7 +359,7 @@ public static function create_calendar_events($events) {
359359

360360
// Let's check if the user is allowed to delete an event.
361361
if (!calendar_add_event_allowed($eventobj)) {
362-
$warnings [] = array('item' => $event['name'], 'warningcode' => 'nopermissions', 'message' => 'you donot have permissions to create this event');
362+
$warnings [] = array('item' => $event['name'], 'warningcode' => 'nopermissions', 'message' => 'you do not have permissions to create this event');
363363
continue;
364364
}
365365
// Let's create the event.

0 commit comments

Comments
 (0)