Closed (won't fix)
Project:
Drupal core
Version:
7.x-dev
Component:
profile.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2006 at 14:40 UTC
Updated:
30 Oct 2013 at 22:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
LAsan commentedDoes this patch applies on cvs?
Comment #2
Xacro commentedThanks! This patch really helped me. Before, I couldn't find any way to delete profile date fields without directly manipulating the database.
I did find, however, that this bit of code (in profile.module):
that was added caused the date fields to default to nothing even when legitimate dates had been set previously. I am, however, using Drupal 6.4... so the problem might be that. Some of the patching actually failed, so I had to go in and do it myself. I'm not too good at PHP, but after I commented out those lines and things look like they're working properly...
Comment #3
drupal_was_my_past commentedProfile has been removed from core #301071: Remove profile module from core.
Comment #4
ttkaminski commentedAttached is a patch that deletes empty profile values instead of inserting them. This patch applies cleanly to 7.x-dev. You can run these queries to clean up the existing table:
This significantly reduced the size of our database, which had several million users and most users do not fill out their profiles.