Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Удаление сайта
 
Mazvv
Jr. Member
 
Total Posts:  1
Joined:  2007-08-31
 

Доброго времени суток. Попытка удалить созданный сайт в System-Configuration не работает.
В app/code/core/Mage/Adminhtml/controllers/System/WebsiteController.php на это событие стоит простой редирект. Как корректно удалить сайт?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Goodahead
Member
 
Avatar
Total Posts:  38
Joined:  2007-09-02
Kiev, Ukraine
 

Пока никак :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Можно вручную:

delete from core_store where store_id=3;
delete from core_config_data where scope='stores' and scope_id=3;
Не забудьте почистить каш если включен.
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top