Minor - removed unused property + add @deprecated

pull/2650/head^2
Julio Montoya 6 years ago
parent b6fdeed507
commit 01c32e7d94
  1. 1
      main/inc/lib/api.lib.php
  2. 24
      src/CoreBundle/Entity/TrackEAttempt.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 string The desired name= value for the select
* @param bool Whether we use the JQuery Chozen library or not * @param bool Whether we use the JQuery Chozen library or not
* (in some cases, like the indexing language picker, it can alter the presentation) * (in some cases, like the indexing language picker, it can alter the presentation)
* @deprecated
* *
* @return string * @return string
*/ */

@ -254,30 +254,6 @@ class TrackEAttempt
return $this->marks; 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. * Set position.
* *

Loading…
Cancel
Save