mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Various code cleanup.
This commit is contained in:
		| @@ -86,7 +86,7 @@ class UserEventHandler | ||||
|             return true; | ||||
|         } | ||||
|         // user is only user but has admin role | ||||
|         if ($count === 1 && $user->hasRole('owner')) { | ||||
|         if (1 === $count && $user->hasRole('owner')) { | ||||
|             Log::debug(sprintf('User #%d is only user but has role owner so all is well.', $user->id)); | ||||
|  | ||||
|             return true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user