Fix rubocop issues, introduce usage of frozen literal to improve performance
This commit is contained in:
		
					parent
					
						
							
								a91c3ef6ce
							
						
					
				
			
			
				commit
				
					
						fdc17bea58
					
				
			
		
					 96 changed files with 329 additions and 126 deletions
				
			
		|  | @ -1,3 +1,5 @@ | |||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class UnfollowService < BaseService | ||||
|   # Unfollow and notify the remote user | ||||
|   # @param [Account] source_account Where to unfollow from | ||||
|  | @ -21,6 +23,6 @@ class UnfollowService < BaseService | |||
|   end | ||||
| 
 | ||||
|   def redis | ||||
|     $redis | ||||
|     Redis.current | ||||
|   end | ||||
| end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue