mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Removed logging
Got rid of some logging I missed when cleaning up. Also, a thumbs.db slipped past me somehow?
This commit is contained in:
parent
0914ac171f
commit
db1f475cf4
@ -50,8 +50,6 @@ def update_jabber_groups(user):
|
|||||||
if len(groups) == 0:
|
if len(groups) == 0:
|
||||||
groups.append('empty')
|
groups.append('empty')
|
||||||
|
|
||||||
print groups
|
|
||||||
|
|
||||||
OpenfireManager.update_user_groups(authserviceinfo.jabber_username, authserviceinfo.jabber_password, groups)
|
OpenfireManager.update_user_groups(authserviceinfo.jabber_username, authserviceinfo.jabber_password, groups)
|
||||||
|
|
||||||
|
|
||||||
@ -124,9 +122,6 @@ def remove_all_syncgroups_for_service(user, servicename):
|
|||||||
|
|
||||||
|
|
||||||
def add_to_databases(user, groups, syncgroups):
|
def add_to_databases(user, groups, syncgroups):
|
||||||
print user
|
|
||||||
print groups
|
|
||||||
print syncgroups
|
|
||||||
authserviceinfo = None
|
authserviceinfo = None
|
||||||
try:
|
try:
|
||||||
authserviceinfo = AuthServicesInfo.objects.get(user=user)
|
authserviceinfo = AuthServicesInfo.objects.get(user=user)
|
||||||
@ -140,8 +135,6 @@ def add_to_databases(user, groups, syncgroups):
|
|||||||
update_teamspeak3_groups(user)
|
update_teamspeak3_groups(user)
|
||||||
|
|
||||||
for group in groups:
|
for group in groups:
|
||||||
print group
|
|
||||||
|
|
||||||
if authserviceinfo.jabber_username and authserviceinfo.jabber_username != "":
|
if authserviceinfo.jabber_username and authserviceinfo.jabber_username != "":
|
||||||
if syncgroups.filter(groupname=group.name).filter(servicename="openfire").exists() is not True:
|
if syncgroups.filter(groupname=group.name).filter(servicename="openfire").exists() is not True:
|
||||||
create_syncgroup_for_user(user, group.name, "openfire")
|
create_syncgroup_for_user(user, group.name, "openfire")
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user