X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FDashboardContact.php;h=0bb8ee893e6e2154aca773863c3fd5cf8372b37b;hb=a5cea5e90a3ad463c363d53c49ed0bb1b6868dbc;hp=2784bd42a5856921c182d83e847159dfde2f5b5c;hpb=61920c359ebfdc6c5b8bff501bbd420c0f530550;p=civicrm-core.git diff --git a/api/v3/DashboardContact.php b/api/v3/DashboardContact.php index 2784bd42a5..0bb8ee893e 100644 --- a/api/v3/DashboardContact.php +++ b/api/v3/DashboardContact.php @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -32,7 +32,7 @@ * @package CiviCRM_APIv3 * @subpackage API_ActionSchedule * - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * */ @@ -92,4 +92,17 @@ function _civicrm_api3_dashboard_contact_check_params(&$params) { } } return NULL; -} \ No newline at end of file +} + +/** + * Delete an existing dashboard-contact + * + * This method is used to delete any existing dashboard-board. the id of the dashboard-contact + * is required field in $params array + * + * {@getfields dashboard_contact_delete} + * @access public + */ +function civicrm_api3_dashboard_contact_delete($params) { + return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); +}