diff --git a/tools/fix_timepoint_date_problems.php b/tools/fix_timepoint_date_problems.php index b4b0edfe868..63536c0001e 100755 --- a/tools/fix_timepoint_date_problems.php +++ b/tools/fix_timepoint_date_problems.php @@ -679,13 +679,7 @@ function diagnose($sessionID, $dateType = null, $newDate = null) $subProjectID = $timePoint->getSubprojectID(); // define the date of birth to use (dob or edc) - if (($dateType=='dob' && $subProjectID==1) - || ($dateType=='edc' && $subProjectID==2) - ) { - $dateBirth = $newDate; - } else { - $dateBirth = $timePoint->getEffectiveDateOfBirth(); - } + $dateBirth = $timePoint->getEffectiveDateOfBirth(); // check if the timepoint is started before attempting to make changes to it if ($timePoint->getCurrentStage() == 'Not Started'