* @access public
*
*/
- public static function create(&$params) {
+ public static function add(&$params) {
$contributionSoft = new CRM_Contribute_DAO_ContributionSoft();
$contributionSoft->copyValues($params);
return $contributionSoft->save();
static function del($contributionID) {
//delete from contribution soft table
$contributionSoft = new CRM_Contribute_DAO_ContributionSoft();
- $contributionSoft->id = $contributionID;
+ $contributionSoft->contribution_id = $contributionID;
$contributionSoft->delete();
}
}