diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-10 06:57:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-10 06:57:20 +0000 |
commit | 23582a5e9101a369474016e43bbb904c47a47df5 (patch) | |
tree | 5c7cbf4df26ce4dca42325c988dbb0c830cd3abe /modules/user/user.install | |
parent | a9af3a61cfb2bb1d0d57f156a3f52f8233b0af4a (diff) | |
download | brdo-23582a5e9101a369474016e43bbb904c47a47df5.tar.gz brdo-23582a5e9101a369474016e43bbb904c47a47df5.tar.bz2 |
- Patch #520760 by sun, Berdir, Steven Merrill, David_Rothstein, Heine, duellj, catch: fixed SA-CORE-2009-007 user signature format.
Diffstat (limited to 'modules/user/user.install')
-rw-r--r-- | modules/user/user.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/user/user.install b/modules/user/user.install index 6cc5d144d..0bff646bb 100644 --- a/modules/user/user.install +++ b/modules/user/user.install @@ -160,6 +160,13 @@ function user_schema() { 'default' => '', 'description' => "User's signature.", ), + 'signature_format' => array( + 'type' => 'int', + 'size' => 'small', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The {filter_format}.format of the signature.', + ), 'created' => array( 'type' => 'int', 'not null' => TRUE, @@ -228,6 +235,9 @@ function user_schema() { 'name' => array('name'), ), 'primary key' => array('uid'), + 'foreign keys' => array( + 'signature_format' => array('filter_format' => 'format'), + ), ); $schema['users_roles'] = array( |