summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-26 03:04:29 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-26 03:04:29 +0000
commit57e88bff51385826190dd30066c704391dbc9b3b (patch)
tree86c78ca0d1eaee22cabf7f01bc9525d43745c483 /modules/system/system.install
parent1236ee9c75a650b2c022bfe498246c034619025c (diff)
downloadbrdo-57e88bff51385826190dd30066c704391dbc9b3b.tar.gz
brdo-57e88bff51385826190dd30066c704391dbc9b3b.tar.bz2
- Patch #809600 by Damien Tournoud, chx: stop using bit-wise operators for {file_managed()}.status.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 9fd1b714a..cd2e9cb94 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -805,10 +805,11 @@ function system_schema() {
'default' => 0,
),
'status' => array(
- 'description' => 'A bitmapped field indicating the status of the file. The least significant bit indicates temporary (0) or permanent (1). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.',
+ 'description' => 'A field indicating the status of the file. Two status are defined in core: temporary (0) and permanent (1). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
+ 'size' => 'tiny',
),
'timestamp' => array(
'description' => 'UNIX timestamp for when the file was added.',
@@ -2193,10 +2194,11 @@ function system_update_7034() {
'default' => 0,
),
'status' => array(
- 'description' => 'A bitmapped field indicating the status of the file the least sigifigant bit indicates temporary (1) or permanent (0). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.',
+ 'description' => 'A field indicating the status of the file. Two status are defined in core: temporary (0) and permanent (1). Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during a cron run.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
+ 'size' => 'tiny',
),
'timestamp' => array(
'description' => 'UNIX timestamp for when the file was added.',