1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00
This commit is contained in:
Adolfo Gómez 2013-06-19 10:58:34 +00:00
parent 7ca448d926
commit 32d951a43c

View File

@ -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