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

Martin Renvoize <martin.renvo...@ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize@ptfs-europe
                   |                            |.com
             Status|Signed Off                  |Failed QA

--- Comment #18 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Hi Raphael,

It looks like you missed Marks comment about removing the 'enable_plugins'
section... in fact you can and should just use the ->call method now.

  my @responses = Koha::Plugins->call($method, @args);

The above should suffice for a large part of your code block introduced.. it
does the check for enable_plugins, find the right plugins and checked they're
enabled/disabled individually and then runs their methods.. it's also allows
passing by reference so you should still be able to use the passed arguments to
fill the data on return.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to