Removed unwanted check

This commit is contained in:
adragusin
2020-06-02 09:19:14 +03:00
committed by Dan Christian Bogos
parent 7fde68f721
commit 3d44277a20

View File

@@ -101,10 +101,6 @@ func (m *Migrator) removeV1UserProfile() (err error) {
if user == nil || user.Masked || m.dryRun {
continue
}
attr := userProfile2attributeProfile(user)
if len(attr.Attributes) == 0 {
continue
}
if err := m.dmIN.remV1User(user.GetId()); err != nil {
return err
}