/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* @package CiviCRM_APIv3
* @subpackage API_ContributionSoft
*
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* @version $Id: ContributionSoft.php 2013-05-01 Jon Goldberg $
*/
* @access public
*/
function civicrm_api3_contribution_soft_delete($params) {
- return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+ // non standard BAO - we have to write custom code to cope
+ CRM_Contribute_BAO_ContributionSoft::del(array('id' => $params['id']));
+
}
/**