Hi All,
I just went into some depth of its code and found that while creating an instance Liferay creates a new company.
It updates multiple tables while creating new instance.
first entry you can find in 'Company' table. It creates a new entry for a country instance.
in relation to this companyId it creates default users in user_ table, contacts in contact_, groups in group_, permissions in permission_ and many more.. in short all those tables that has entry related to company are updated.
while creating an instance it calls EditInstanceAction.java and from there it calls addCompany() method
of CompanyServiceUtil.java. in this java file I sould not find any method to remove Company. so may be it is still in progress to remove an existing company (or instance).
Only thing that can be done is manual removal of company from database or do not set up the new instance information in host file.
Thanks,
Tarun Kayasth
[CIGNEX Technologies Pvt. Ltd.]
Please sign in to flag this as inappropriate.