mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Removed unwanted check
This commit is contained in:
committed by
Dan Christian Bogos
parent
7fde68f721
commit
3d44277a20
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user