mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Remove a lot of deprecated code.
This commit is contained in:
@@ -162,22 +162,6 @@ class UserRepository implements UserRepositoryInterface
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $userId
|
||||
*
|
||||
* @deprecated
|
||||
* @return User
|
||||
*/
|
||||
public function find(int $userId): User
|
||||
{
|
||||
$user = User::find($userId);
|
||||
if (null !== $user) {
|
||||
return $user;
|
||||
}
|
||||
|
||||
return new User;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $email
|
||||
*
|
||||
|
Reference in New Issue
Block a user