We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af48b15 commit 8546928Copy full SHA for 8546928
app/Http/Controllers/UserController.php
@@ -673,7 +673,6 @@ public function deleteUser(request $request)
673
public function delProfilePicture()
674
{
675
$user_id = Auth::user()->id;
676
- $user_id = User::find($user_id)->littlelink_name; // remove when switching to IDs
677
$path = base_path('img/' . $user_id . '.png');
678
679
if (File::exists($path)) {
0 commit comments