diff options
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index ca98e390b..f56ef4055 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1469,14 +1469,13 @@ function system_schema() { 'not null' => TRUE, ), 'sid' => array( - 'description' => "A session ID. The value is generated by PHP's Session API.", + 'description' => "A session ID. The value is generated by Drupal's session handlers.", 'type' => 'varchar', 'length' => 128, 'not null' => TRUE, - 'default' => '', ), 'ssid' => array( - 'description' => "Secure session ID. The value is generated by PHP's Session API.", + 'description' => "Secure session ID. The value is generated by Drupal's session handlers.", 'type' => 'varchar', 'length' => 128, 'not null' => TRUE, @@ -2902,6 +2901,19 @@ function system_update_7064() { } /** + * Remove the default value for sid. + */ +function system_update_7065() { + $spec = array( + 'description' => "A session ID. The value is generated by Drupal's session handlers.", + 'type' => 'varchar', + 'length' => 128, + 'not null' => TRUE, + ); + db_change_field('sessions', 'sid', 'sid', $spec); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |