Fix error while logging out the platform

Created on 6 December 2024, about 1 month ago

Problem/Motivation

In social_user_user_logout(), we used User::load() to load the current user entity. It turns out the previously imported class was `Drupal\social_user\Entity\User` instead of `Drupal\user\Entity\User`.

Steps to reproduce

Using the latest version of social, simply login and logout the platform.

Proposed resolution

Properly import both classes.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

13.0

Component

Code (back-end)

Created by

🇧🇷Brazil tregismoreira

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024