<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
$childNote = new CRM_Core_DAO_Note();
$childNote->id = $childId;
$childNote->delete();
+ $childNote->free();
$recent[] = $childId;
}
$return = $note->delete();
+ $note->free();
if ($showStatus) {
CRM_Core_Session::setStatus($status, ts('Deleted'), 'success');
}