diff -r 058bb3dc685f -r 0b59724cb3f2 misc/migration/3.15.0_Any.py --- a/misc/migration/3.15.0_Any.py Mon Jan 04 18:40:30 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -sync_schema_props_perms('EmailAddress') - -for source in rql('CWSource X WHERE X type "ldapuser"').entities(): - config = source.dictconfig - host = config.pop('host', u'ldap') - protocol = config.pop('protocol', u'ldap') - source.cw_set(url=u'%s://%s' % (protocol, host)) - source.update_config(skip_unknown=True, **config) - -commit()