Skip to content

Clean up tags of deleted users - #25093

Merged
PVince81 merged 1 commit into
masterfrom
issue-12816-clean-tags-from-deleted-users
Jun 15, 2016
Merged

PVince81 merged 1 commit into
masterfrom
issue-12816-clean-tags-from-deleted-users

Conversation

@nickvergessen

Copy link
Copy Markdown
Contributor

@nickvergessen nickvergessen added this to the 9.1-current milestone Jun 14, 2016
@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @DeepDiver1975, @PVince81 and @icewind1991 to be potential reviewers

@georgehrke

georgehrke commented Jun 14, 2016 •

Copy link
Copy Markdown
Contributor

Is this PR for external user backends?
Works just fine for me with db users

->from('vcategory')
->groupBy('uid')
->orderBy('uid')
->setMaxResults(50)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional: make that a param for checkTags to avoid copying this magic number in the offset increment

@PVince81

Copy link
Copy Markdown
Contributor

I like this approach. Better than just iterating over all possible users 😄

@nickvergessen

Copy link
Copy Markdown
Contributor Author

Is this PR for external user backends?

Yes, that's why it's so ugly.

Once we have the accounts table, this could be done much easier with a join, but until then we need to do it this nasty way.

@PVince81

Copy link
Copy Markdown
Contributor

👍

@PVince81

Copy link
Copy Markdown
Contributor

Second review ? @georgehrke @rullzer @icewind1991

@georgehrke

Copy link
Copy Markdown
Contributor

will take a look

@georgehrke

Copy link
Copy Markdown
Contributor

👍

@PVince81
PVince81 merged commit 05967a6 into master Jun 15, 2016
@PVince81
PVince81 deleted the issue-12816-clean-tags-from-deleted-users branch June 15, 2016 10:20
@lock

lock Bot commented Aug 5, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting user must delete all their tags

4 participants