+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2018 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$params = array(
'id' => $softcontributionID,
);
- $result = $this->callAPISuccess('contribution_soft', 'delete', $params);
+ $this->callAPISuccess('contribution_soft', 'delete', $params);
}
/**
$params = array(
'contribution_source' => 'SSF',
);
- $softcontribution = $this->callAPIFailure('contribution_soft', 'delete', $params);
+ $this->callAPIFailure('contribution_soft', 'delete', $params);
}
public function testDeleteContributionSoft() {
$params = array(
'id' => $softcontributionID,
);
- $result = $this->callAPIAndDocument('contribution_soft', 'delete', $params, __FUNCTION__, __FILE__);
+ $this->callAPIAndDocument('contribution_soft', 'delete', $params, __FUNCTION__, __FILE__);
}
///////////////// civicrm_contribution_search methods