mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 05:43:45 +02:00
Code cleanup to use new findCountWhere function
This commit is contained in:
@@ -68,8 +68,6 @@ class UpdateService
|
||||
$data['password'] = $this->hasher->make($data['password']);
|
||||
}
|
||||
|
||||
$user = $this->repository->update($id, $data);
|
||||
|
||||
return $user;
|
||||
return $this->repository->update($id, $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user