/** * This function is to make a copy of a profile, including * all the fields in the profile * * @return void * @access public */ function copy() { $gid = CRM_Utils_Request::retrieve('gid', 'Positive', $this, TRUE, 0, 'GET'); CRM_Core_BAO_UFGroup::copy($gid); CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/admin/uf/group', 'reset=1')); }