Skip to content

Commit 8546928

Browse files
committed
Switched to IDs
1 parent af48b15 commit 8546928

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/Http/Controllers/UserController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,6 @@ public function deleteUser(request $request)
673673
public function delProfilePicture()
674674
{
675675
$user_id = Auth::user()->id;
676-
$user_id = User::find($user_id)->littlelink_name; // remove when switching to IDs
677676
$path = base_path('img/' . $user_id . '.png');
678677

679678
if (File::exists($path)) {

0 commit comments

Comments
 (0)