have the upgrade script remove the Wobject/Product.pm file

This commit is contained in:
Colin Kuskie 2008-04-13 03:33:53 +00:00
parent fd1a51562c
commit a9b67556e6

View file

@ -442,6 +442,7 @@ sub migrateOldProduct {
## Update config file, deleting Wobject::Product and adding Sku::Product
$session->config->deleteFromArray('assets', 'WebGUI::Asset::Wobject::Product');
$session->config->addToArray('assets', 'WebGUI::Asset::Sku::Product');
unlink '../../lib/WebGUI/Asset/Wobject/Product.pm';
return;
}