mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-10 17:23:12 +01:00
Switched to IDs
This commit is contained in:
parent
af48b15a71
commit
85469283a6
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user