Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Added script to null out default birthday#2252

Merged
angaither merged 1 commit intoDoSomethingArchive:devfrom
angaither:null-out-fake-birthdays
May 21, 2014
Merged

Added script to null out default birthday#2252
angaither merged 1 commit intoDoSomethingArchive:devfrom
angaither:null-out-fake-birthdays

Conversation

@angaither
Copy link
Contributor

Sets Dec 31, 1969 to NULL. This is about 1,400 people.
Will need to be tested on QA.

Fixes #2242

@desmondmorris
Copy link
Contributor

Code looks good. Should we capture those uids before they get wiped? Just in case you want to spam contact them to update there stuff

@aaronschachter
Copy link
Contributor

Could also output # of affected rows as a nice to have, but nothing required. https://api.drupal.org/api/drupal/includes%21database%21database.inc/function/db_update/7#comment-6969

@deezone
Copy link
Contributor

deezone commented May 21, 2014

Adding myself to the issue as I'll need to make a SQL dump of the users table once this data cleaning is in place to update the Message Broker User API data. @angaither please poke me when you run this script.

@angaither
Copy link
Contributor Author

Not sure if it's needed to poke them to update thoughts? cc @mikefantini

@mikefantini
Copy link

not concerned with asking them to update their stuff. let's just null these out and call it a day. they can always update via the profile (eventually)

angaither added a commit that referenced this pull request May 21, 2014
Added script to null out default birthday
@angaither angaither merged commit 9e09d45 into DoSomethingArchive:dev May 21, 2014
@angaither angaither deleted the null-out-fake-birthdays branch May 21, 2014 16:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

null out 1969-12-31 birthdays

5 participants