Commit 35dce7ee authored by Lukas Burgey's avatar Lukas Burgey

Remove some obsolete publishings

parent a0aa6bfd
......@@ -159,13 +159,15 @@ class Deployment(PolymorphicModel):
for item in self.states.all():
item.user_credential_added(key)
self.publish()
if self.state_target == DEPLOYED:
self.publish()
def user_credential_removed(self, key):
for item in self.states.all():
item.user_credential_removed(key)
self.publish()
if self.state_target == DEPLOYED:
self.publish()
def publish_to_client(self):
if settings.DEBUG_PUBLISHING:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment