Skip to content

Conversation

liam-middlebrook
Copy link
Member

Now works as advertised for onfloor status changes!!!!!!

Copy link
Collaborator

@stevenmirabito stevenmirabito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall! :shipit:


# Only update if there's a diff
logger.info('backend', action="edit %s active: %s" % (uid, active_member))
if ldap_is_active(uid) != active_member:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should move this logic into the actual LDAP methods so this if statement doesn't need to be sprinkled throughout our controllers. I've opened #72 so this can be looked at in the future.

@stevenmirabito stevenmirabito merged commit 132cad7 into ComputerScienceHouse:develop Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants