Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6022

api civicrm_activity_type_delete not following the proper convention

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      it should be a $params, not an id.
      $params["id"]

      /**

      • Function to delete activity type
      • @param activityTypeId int activity type id to delete
      • @return boolen
        *
      • @access public
        */
        function civicrm_activity_type_delete( $activityTypeId ) {

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: