From c2b3a2f5c715c5f3913ae658f2d38c78fe63f179 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 19 Sep 2019 13:10:21 +0200 Subject: [PATCH] Minor - flint fixes --- main/course_home/course_home.php | 1 - src/CourseBundle/Component/CourseCopy/Course.php | 4 ++-- src/CourseBundle/Entity/CItemProperty.php | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/main/course_home/course_home.php b/main/course_home/course_home.php index 7dca12daba..ccd6a714d8 100755 --- a/main/course_home/course_home.php +++ b/main/course_home/course_home.php @@ -325,7 +325,6 @@ if ($documentAutoLaunch == 1) { } } - $tool_table = Database::get_course_table(TABLE_TOOL_LIST); /* Introduction section (editable by course admins) */ diff --git a/src/CourseBundle/Component/CourseCopy/Course.php b/src/CourseBundle/Component/CourseCopy/Course.php index 476a7bfc80..4912b57c0d 100644 --- a/src/CourseBundle/Component/CourseCopy/Course.php +++ b/src/CourseBundle/Component/CourseCopy/Course.php @@ -71,8 +71,8 @@ class Course * Does this course has resources? * * @param int $type Check if this course has resources of the - * given type. If no type is given, check if course has resources of any - * type. + * given type. If no type is given, check if course has resources of any + * type. * * @return bool */ diff --git a/src/CourseBundle/Entity/CItemProperty.php b/src/CourseBundle/Entity/CItemProperty.php index 357db60e6a..349e524711 100644 --- a/src/CourseBundle/Entity/CItemProperty.php +++ b/src/CourseBundle/Entity/CItemProperty.php @@ -16,7 +16,6 @@ use Doctrine\ORM\Mapping as ORM; * @ORM\Index(name="idx_item_property_visibility", columns={"visibility"}), * }) * @ORM\Entity(repositoryClass="Chamilo\CoreBundle\Repository\ItemPropertyRepository") - * */ class CItemProperty {