From 85469283a6b1ab2376be170dafe9c0cd80bd8a07 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Fri, 3 Feb 2023 16:18:28 +0100 Subject: [PATCH] Switched to IDs --- app/Http/Controllers/UserController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index cb4b2c7..dac7d89 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -673,7 +673,6 @@ class UserController extends Controller public function delProfilePicture() { $user_id = Auth::user()->id; - $user_id = User::find($user_id)->littlelink_name; // remove when switching to IDs $path = base_path('img/' . $user_id . '.png'); if (File::exists($path)) {