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

CRM_Core_BAO_MessageTemplates::sendTemplate accepting template ID

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.alpha
    • Fix Version/s: 3.4.alpha
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Currently there are two functions in CRM_Core_BAO_MessageTemplates: sendTemplate and sendReminder. sendTemplate is more general and allows passing over additional template params which is not possible with sendReminder. However, it requires the groupName and valueName of a workflow while sendReminder accepts the id of the template. Since templates added manually don't get a groupName and valueName by default this patch extents the parameters of CRM_Core_BAO_MessageTemplates::send to accept even the messageTemplateID.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              prolineserver Holger Motzkau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified