Skip to content

Commit 1b0f416

Browse files
author
Francis Gonzales
committed
minor code format
1 parent 5becf16 commit 1b0f416

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

main/course_progress/index.php

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -296,40 +296,40 @@ function check_per_custom_date(obj) {
296296

297297
// Distpacher actions to controller
298298
switch ($action) {
299-
case 'thematic_add' :
300-
case 'thematic_edit' :
301-
case 'thematic_delete' :
302-
case 'thematic_delete_select' :
303-
case 'thematic_copy' :
304-
case 'thematic_import_select' :
305-
case 'thematic_import' :
306-
case 'moveup' :
307-
case 'movedown' :
299+
case 'thematic_add':
300+
case 'thematic_edit':
301+
case 'thematic_delete':
302+
case 'thematic_delete_select':
303+
case 'thematic_copy':
304+
case 'thematic_import_select':
305+
case 'thematic_import':
306+
case 'moveup':
307+
case 'movedown':
308308
if (!api_is_allowed_to_edit(null,true)) {
309-
api_not_allowed();
309+
api_not_allowed();
310310
}
311-
case 'thematic_list' :
312-
case 'thematic_export' :
313-
case 'thematic_export_pdf' :
314-
case 'thematic_details' :
311+
case 'thematic_list':
312+
case 'thematic_export':
313+
case 'thematic_export_pdf':
314+
case 'thematic_details':
315315
$thematic_controller->thematic($action);
316-
break;
317-
case 'thematic_plan_add' :
318-
case 'thematic_plan_edit' :
319-
case 'thematic_plan_delete' :
316+
break;
317+
case 'thematic_plan_add':
318+
case 'thematic_plan_edit':
319+
case 'thematic_plan_delete':
320320
if (!api_is_allowed_to_edit(null,true)) {
321321
api_not_allowed();
322322
}
323-
case 'thematic_plan_list' :
323+
case 'thematic_plan_list':
324324
$thematic_controller->thematic_plan($action);
325-
break;
326-
case 'thematic_advance_add' :
327-
case 'thematic_advance_edit' :
328-
case 'thematic_advance_delete' :
325+
break;
326+
case 'thematic_advance_add':
327+
case 'thematic_advance_edit':
328+
case 'thematic_advance_delete':
329329
if (!api_is_allowed_to_edit(null,true)) {
330330
api_not_allowed();
331331
}
332-
case 'thematic_advance_list' :
332+
case 'thematic_advance_list':
333333
$thematic_controller->thematic_advance($action);
334-
break;
334+
break;
335335
}

0 commit comments

Comments
 (0)