Skip to content

Commit 7b215b6

Browse files
committed
codecleaning
1 parent 7db0839 commit 7b215b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locallib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function moodleoverflow_print_latest_discussions($moodleoverflow, $cm, $page = -
228228
if ((!is_guest($context, $USER) && isloggedin()) && has_capability('mod/moodleoverflow:movetopic', $context)) {
229229
$modinfo = get_fast_modinfo($moodleoverflow->course);
230230
$coursemoodleoverflows = $modinfo->get_instances_of('moodleoverflow');
231-
$coursemoodleoverflows = array_filter($coursemoodleoverflows, function($cm) {
231+
$coursemoodleoverflows = array_filter($coursemoodleoverflows, function ($cm) {
232232
return $cm->deletioninprogress == 0;
233233
});
234234
$canmovetopic = count($coursemoodleoverflows) > 1;

0 commit comments

Comments
 (0)