function Course::set_bool_outdated_sub

7.x Course.php Course::set_bool_outdated_sub($degree_id = 0, $val)
6.x Course.php Course::set_bool_outdated_sub($degree_id = 0, $val)

File

classes/Course.php, line 181

Class

Course

Code

function set_bool_outdated_sub($degree_id = 0, $val) {
  // If degree_id is zero, then use the course's currently req_by_degree_id.    
  if ($degree_id == 0) {
    $degree_id = $this->req_by_degree_id;
  }

  $this->set_details_by_degree($degree_id, "bool_outdated_sub", $val);
}