Refactoring
* drop SSO message sending for now from the logic
This commit is contained in:
		
							parent
							
								
									0c6eba7c4b
								
							
						
					
					
						commit
						e615a2fc01
					
				@ -261,16 +261,6 @@ class CheckModalForm(BaseModalForm):
 | 
			
		||||
        with transaction.atomic():
 | 
			
		||||
            self.instance.toggle_checked(self.user)
 | 
			
		||||
 | 
			
		||||
        # Send message to the SSO server
 | 
			
		||||
        messenger = Messenger(
 | 
			
		||||
            self.instance.users.all(),
 | 
			
		||||
            type="INFO",
 | 
			
		||||
        )
 | 
			
		||||
        messenger.send_object_checked(
 | 
			
		||||
            self.instance.identifier,
 | 
			
		||||
            self.user,
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class NewDeductionModalForm(BaseModalForm):
 | 
			
		||||
    """ Form for creating new deduction
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user