@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | 'relationship', |
270 | 270 | $relationship->id, |
271 | 271 | context::instance_by_id($relationship->contextid), |
272 | - $relationship->tags) ; |
|
272 | + $relationship->tags); |
|
273 | 273 | |
274 | 274 | $event = \local_relationship\event\relationship_created::create(array( |
275 | 275 | 'context' => context::instance_by_id($relationship->contextid), |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | 'relationship', |
302 | 302 | $relationship->id, |
303 | 303 | context::instance_by_id($relationship->contextid), |
304 | - $relationship->tags) ; |
|
304 | + $relationship->tags); |
|
305 | 305 | |
306 | 306 | $event = \local_relationship\event\relationship_updated::create(array( |
307 | 307 | 'context' => context::instance_by_id($relationship->contextid), |
@@ -328,7 +328,7 @@ discard block |
||
328 | 328 | |
329 | 329 | $cohorts = $DB->get_records('relationship_cohorts', array('relationshipid' => $relationship->id)); |
330 | 330 | |
331 | - if(count($cohorts) == 0) { |
|
331 | + if (count($cohorts) == 0) { |
|
332 | 332 | |
333 | 333 | $relationshipgroups = $DB->get_records('relationship_groups', array('relationshipid' => $relationship->id)); |
334 | 334 | foreach ($relationshipgroups AS $g) { |