Marcel de Rooy
c4a8e5fb3e
This report is connected to bug 10480 which will change the general mechanism of loading plugins, but can be tested independently and ahead of that proposed change. Several unimarc plugins use a wrapper sub. The code of this subroutine is not exactly the same for all plugins: in some cases the routine is extended for double character strings (dblspace and dblpipe). It would not hurt to use the extended code for all plugins. By moving the code to a module, we prevent redefinition when two or more plugins are loading wrapper in a do-statement. NOTE: You will not see wrapper redefine errors in your log, since the plugins do not use the warnings pragma (yet). Since this patch touches seventeen unimarc plugins, a unimarc signoff is preferred :) Test plan: Use some plugins changed in this patch (if not in use already). Load the MARC editor. Click on some tag editor-buttons to check unchanged behavior. Signed-off-by: Frederic Demians <f.demians@tamil.fr> Unimarc plugins work as usual. No regression. Simple code factorization. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> |
||
---|---|---|
.. | ||
value_builder | ||
addbiblio.pl | ||
addbooks.pl | ||
additem.pl | ||
linkitem.pl | ||
merge.pl | ||
merge_ajax.pl | ||
moveitem.pl | ||
plugin_launcher.pl | ||
ysearch.pl | ||
z3950_auth_search.pl | ||
z3950_search.pl |