mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +03:00
This commit is contained in:
parent
7ca448d926
commit
32d951a43c
@ -448,6 +448,10 @@ class UserServiceManager(object):
|
||||
return False
|
||||
|
||||
def checkForRemoval(self, uService):
|
||||
'''
|
||||
This method is used by UserService when a request for setInUse(False) is made
|
||||
This checks that the service can continue existing or not
|
||||
'''
|
||||
#uService = UserService.objects.select_for_update().get(id=uService.id)
|
||||
if uService.publication == None:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user