X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FBAO%2FContactType.php;h=b0d25258ef6d60ea2280d4a4781cff46659651c7;hb=d70904059dff368d638f7388648b2d7af5075183;hp=897fcbc6f886bd53afd154d294fde35f2abeba4e;hpb=e48ed441e7d36e73a3ea5554a8e59411e8eb9920;p=civicrm-core.git diff --git a/CRM/Contact/BAO/ContactType.php b/CRM/Contact/BAO/ContactType.php index 897fcbc6f8..b0d25258ef 100644 --- a/CRM/Contact/BAO/ContactType.php +++ b/CRM/Contact/BAO/ContactType.php @@ -785,7 +785,6 @@ WHERE name = %1"; $customDataCount = CRM_Core_DAO::singleValueQuery($sql); if (!empty($customDataCount)) { - $dao->free(); return TRUE; } }