fix ldap_migration decorator

This commit is contained in:
Kay0u 2021-12-30 00:25:54 +01:00
parent bbe0486935
commit 7cb96c6652
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

View file

@ -1130,7 +1130,8 @@ class Migration:
def description(self): def description(self):
return m18n.n("migration_description_%s" % self.id) return m18n.n("migration_description_%s" % self.id)
def ldap_migration(self, run): @staticmethod
def ldap_migration(run):
def func(self): def func(self):
# Backup LDAP before the migration # Backup LDAP before the migration