Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
refactor(users): remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
MonikaInfyOm committed Oct 21, 2019
1 parent db8b51f commit 71f796d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Repositories/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ public function update($input, $id)
/** @var User $user */
$user = User::findOrFail($id);
$user->update($input);
$user->refresh();
$this->assignRolesAndProjects($user, $input);

if ($input['is_active'] && !$user->is_email_verified) {
Expand Down

0 comments on commit 71f796d

Please sign in to comment.