a few things i forgot when getting rid of old commerce stuff

This commit is contained in:
JT Smith 2008-05-27 20:56:34 +00:00
parent 39c95cb25b
commit defad00f41
8 changed files with 9 additions and 21 deletions

View file

@ -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') };

View file

@ -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 => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 680 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB