dev/core#1921 Remove more instances of civi 4.2 date handling
authoreileen <emcnaughton@wikimedia.org>
Wed, 9 Sep 2020 20:53:26 +0000 (08:53 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 9 Sep 2020 20:53:26 +0000 (08:53 +1200)
Per https://lab.civicrm.org/dev/core/-/issues/1921

CRM/Member/BAO/Membership.php

index 3ccda33cf0a32ab387350c1901a2f87724277852..0022d417d3674bcf5739f001809ae28df8f4b745 100644 (file)
@@ -1161,9 +1161,6 @@ AND civicrm_membership.is_test = %2";
       $memberDAO->find(TRUE);
 
       $memberDAO->status_id = $status['id'];
-      $memberDAO->join_date = CRM_Utils_Date::isoToMysql($memberDAO->join_date);
-      $memberDAO->start_date = CRM_Utils_Date::isoToMysql($memberDAO->start_date);
-      $memberDAO->end_date = CRM_Utils_Date::isoToMysql($memberDAO->end_date);
       $memberDAO->save();
       CRM_Core_DAO::storeValues($memberDAO, $currentMembership);