This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Удаление баллов на работы в портфолио при удалении пользователя
- Loading branch information
Showing
2 changed files
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3a91596
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Первое надо еще удалять тогда и из flance_userpoints пункты за auth. Для полной чистоты картины. До reviews и платного ПРО я пока не добрался - тут не скажу. Но 1 пункт за auth остался, а юзера такого уже нет.
3a91596
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Второе - теперь удалив не всего юзера а только его одно фолио не минусуется за это фолио. У меня в flance_userpoints при подтверждении фолио админом дало юзеру + 10 с portfolioaddtocat полем, при удалении это пропало, но в flance_users в user_userpoints значение осталось 11 (1 за auth и 10 за фолио) - там не вычистилось. И на фронтэнде так же 11 естествтвенно, хотя фолио у него нет добаленных.