Browse Source

Minor - format code

Julio Montoya 6 years ago
parent
commit
cbc9242cb8
1 changed files with 0 additions and 4 deletions
  1. 0 4
      main/lp/lp_view.php

+ 0 - 4
main/lp/lp_view.php

@@ -460,10 +460,6 @@ if ($is_allowed_to_edit) {
         'url' => '#',
         'name' => get_lang('Preview'),
     ];
-}
-
-// Return to course home.
-if ($is_allowed_to_edit) {
     $buttonHomeUrl = 'lp_controller.php?'.api_get_cidreq(true, true, 'course').'&'.http_build_query([
         'isStudentView' => 'false',
         'action' => 'return_to_course_homepage',