浏览代码

Minor - format code

Julio Montoya 6 年之前
父节点
当前提交
cbc9242cb8
共有 1 个文件被更改,包括 0 次插入4 次删除
  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',