summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-11-05 19:05:02 +0000
committerDries Buytaert <dries@buytaert.net>2010-11-05 19:05:02 +0000
commite920fe34ef16d30af0f4fb8e33b565e572ab30c8 (patch)
tree9282e247144413df5d94ddfa4863a02a9514672b /modules/system/system.install
parent5f550ab80ca279706fd1681920e45172ab23748b (diff)
downloadbrdo-e920fe34ef16d30af0f4fb8e33b565e572ab30c8.tar.gz
brdo-e920fe34ef16d30af0f4fb8e33b565e572ab30c8.tar.bz2
- Patch #575280 by mfb, carlos8f, chx, bleen18: impersonation when an https session exists.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install18
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.
*/