prep code for removing the Product macro from webgui.conf file
This commit is contained in:
parent
f9297edde8
commit
bd641dc600
1 changed files with 7 additions and 0 deletions
|
|
@ -856,6 +856,13 @@ sub mergeProductsWithCommerce {
|
|||
#unlink '../../lib/WebGUI/Product.pm';
|
||||
#unlink '../../lib/WebGUI/Operation/ProductManager.pm';
|
||||
#unlink '../../lib/WebGUI/Macro/Product.pm';
|
||||
##Disable the Product macro in the config file. You can't use the convenience method
|
||||
#deleteFromHash since the macro name is in the value, not the key.
|
||||
#my %macros = %{ $session->config->get('macros') };
|
||||
#foreach (my ($key, $value) = each %macros) {
|
||||
# delete $macros{$key} if $value eq 'Product';
|
||||
#}
|
||||
#$session->config->set('macros', \%macros);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue