Closed (fixed)
Project:
Signatures for Forums
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2008 at 19:33 UTC
Updated:
31 Dec 2008 at 04:30 UTC
When installing, Signatures for forums starts with empty signatures for all users. But often signatures are already in use. To prevent users creating new signatures, it would be nice to copy the current signatures over on install. That would also be symmetrical with de-installing Signatures for forums as that already neatly copies its table back over to the users table.
I've added this to signature_forum.install right after the table create:
db_query("INSERT INTO {users_signature} (uid, signature) SELECT uid, signature FROM {users} ");
Comments
Comment #1
liam mcdermott commentedOops, this was removed by accident. Mea culpa.
Comment #2
liam mcdermott commented