Fixes Deleting/Changing the default language en-US not possible
Work Items: 28788
This commit is contained in:
@@ -272,10 +272,10 @@ namespace umbraco.cms.businesslogic.language
|
||||
{
|
||||
|
||||
|
||||
if (this.id == DefaultLanguageId)
|
||||
{
|
||||
throw new InvalidOperationException("You cannot delete the default language: en-US");
|
||||
}
|
||||
//if (this.id == DefaultLanguageId)
|
||||
//{
|
||||
// throw new InvalidOperationException("You cannot delete the default language: en-US");
|
||||
//}
|
||||
|
||||
|
||||
if (SqlHelper.ExecuteScalar<int>("SELECT count(id) FROM umbracoDomains where domainDefaultLanguage = @id",
|
||||
|
||||
Reference in New Issue
Block a user