mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
Remove update_locale check
This commit is contained in:
parent
9b3fc33e60
commit
3ccacdf10e
@ -82,10 +82,6 @@ class CreatePageAliasAction:
|
||||
raise CreatePageAliasIntegrityError(
|
||||
"You cannot copy a tree branch recursively into itself"
|
||||
)
|
||||
if not parent.is_root() and self.update_locale is not None:
|
||||
raise CreatePageAliasIntegrityError(
|
||||
"You cannot manually set locale of a page that's not at the root of the tree."
|
||||
)
|
||||
|
||||
if (
|
||||
self.user
|
||||
|
Loading…
Reference in New Issue
Block a user