[Koha-bugs] [Bug 28474] New: Pass process_message_queue.pl params to before_send_messages plugin hooks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 27 15:27:36 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28474

            Bug ID: 28474
           Summary: Pass process_message_queue.pl params to
                    before_send_messages plugin hooks
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Plugin architecture
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

It would be useful to send most of the process_message_queue.pl script
parameters to any plugin before_send_messages hooks. For example, the Twilio
Voice plugin uses before_send_messages to send phone messages, but if the
script is called with "-t email", it doesn't know and will make phone calls! If
that info were passed in, the plugin could be made aware of it and only make
calls if no "-t" or a "-t phone" were set in the parameters.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list