mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	actions: Remove realm argument to internal_send_private_message.
The argument is redundant.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							a652573169
						
					
				
				
					commit
					09fc79f911
				
			@@ -769,9 +769,7 @@ def approve_sponsorship(realm: Realm) -> None:
 | 
			
		||||
                f"Your organization's request for sponsored hosting has been approved! {emoji}.\n"
 | 
			
		||||
                f"You have been upgraded to {plan_name}, free of charge."
 | 
			
		||||
            )
 | 
			
		||||
            internal_send_private_message(
 | 
			
		||||
                billing_admin.realm, notification_bot, billing_admin, message
 | 
			
		||||
            )
 | 
			
		||||
            internal_send_private_message(notification_bot, billing_admin, message)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def get_discount_for_realm(realm: Realm) -> Optional[Decimal]:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user