From 01c32e7d94137f931665590b0febe33f14c6b92a Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 5 Sep 2018 14:08:37 +0200 Subject: [PATCH] Minor - removed unused property + add @deprecated --- main/inc/lib/api.lib.php | 1 + src/CoreBundle/Entity/TrackEAttempt.php | 24 ------------------------ 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/main/inc/lib/api.lib.php b/main/inc/lib/api.lib.php index f09a77948d..85093148f3 100644 --- a/main/inc/lib/api.lib.php +++ b/main/inc/lib/api.lib.php @@ -4724,6 +4724,7 @@ function api_get_item_property_info($course_id, $tool, $ref, $session_id = 0, $g * @param string The desired name= value for the select * @param bool Whether we use the JQuery Chozen library or not * (in some cases, like the indexing language picker, it can alter the presentation) + * @deprecated * * @return string */ diff --git a/src/CoreBundle/Entity/TrackEAttempt.php b/src/CoreBundle/Entity/TrackEAttempt.php index a1f3517df7..b2e52f1968 100644 --- a/src/CoreBundle/Entity/TrackEAttempt.php +++ b/src/CoreBundle/Entity/TrackEAttempt.php @@ -254,30 +254,6 @@ class TrackEAttempt return $this->marks; } - /** - * Set cId. - * - * @param int $cId - * - * @return TrackEAttempt - */ - public function setCId($cId) - { - $this->cId = $cId; - - return $this; - } - - /** - * Get cId. - * - * @return int - */ - public function getCId() - { - return $this->cId; - } - /** * Set position. *