Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Today 17:06:48

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,727
GitHub

Clearing out expired rows in `txp_token`

It is safe to cull long-expired rows in txp_token?

I have a few sites with account_activation rows that expired 5+ years ago.

Will clearing them out break anything? Thank you.

Offline

#2 Today 17:39:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,446
Website GitHub

Re: Clearing out expired rows in `txp_token`

No iasues. All rows expungable. Worst case is that someone’s activation token doesn’t work, if it’s within a week old.

It’s supposed to clear them periodically but I think it only does it when a new token of that same “type” is added, so if you haven’t had any new activation requests in a while, they’ll just sit there dormant.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#3 Today 18:08:14

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,727
GitHub

Re: Clearing out expired rows in `txp_token`

Perfect – thanks, Bloke.

Offline

Board footer

Powered by FluxBB