a few things i forgot when getting rid of old commerce stuff
|
|
@ -1039,6 +1039,12 @@ sub removeOldCommerceCode {
|
|||
unlink '../../lib/WebGUI/Help/Subscription.pm';
|
||||
unlink '../../lib/WebGUI/i18n/English/Subscription.pm';
|
||||
|
||||
unlink '../../www/extras/adminConsole/subscriptions.gif';
|
||||
unlink '../../www/extras/adminConsole/small/subscriptions.gif';
|
||||
unlink '../../www/extras/adminConsole/productManager.gif';
|
||||
unlink '../../www/extras/adminConsole/small/productManager.gif';
|
||||
|
||||
|
||||
#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 = %{ $config->get('macros') };
|
||||
|
|
|
|||
|
|
@ -392,32 +392,14 @@ sub getAdminFunction {
|
|||
op => "viewActiveSessions",
|
||||
class => 'WebGUI::Operation::ActiveSessions',
|
||||
},
|
||||
"commerce" => {
|
||||
"shop" => {
|
||||
title => {
|
||||
id => "shop",
|
||||
namespace => "Shop",
|
||||
},
|
||||
icon => "commerce.gif",
|
||||
icon => "shop.gif",
|
||||
url => $self->session->url->page("shop=admin"),
|
||||
group => "3",
|
||||
},
|
||||
"subscriptions" => {
|
||||
title => {
|
||||
id => "manage subscriptions",
|
||||
namespace => "Subscription",
|
||||
},
|
||||
icon => "subscriptions.gif",
|
||||
op => "listSubscriptions",
|
||||
class => 'WebGUI::Operation::Subscription',
|
||||
},
|
||||
"productManager" => {
|
||||
title => {
|
||||
id => "manage products",
|
||||
namespace => "ProductManager",
|
||||
},
|
||||
icon => "productManager.gif",
|
||||
op => "listProducts",
|
||||
class => 'WebGUI::Operation::ProductManager',
|
||||
group => $session->setting->get('groupIdAdminCommerce'),
|
||||
},
|
||||
"cache" => {
|
||||
title => {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 2.4 KiB |