diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-25 17:52:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-25 17:52:43 +0000 |
commit | fb5d44bc2c1c2d3ea79c4c9d19ea0d8c7d1f6950 (patch) | |
tree | 9d4c006c79db10896660c0cbf98ce43faee0f654 /includes/common.inc | |
parent | 9a59cf76742669f4e7a26d1ef2737179db8cf7b5 (diff) | |
download | brdo-fb5d44bc2c1c2d3ea79c4c9d19ea0d8c7d1f6950.tar.gz brdo-fb5d44bc2c1c2d3ea79c4c9d19ea0d8c7d1f6950.tar.bz2 |
#303965 by moshe weitzman and snufkin: Allow data import scripts to set /->is_new programmatically.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index ff44abd28..fa6eae77c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -3976,8 +3976,6 @@ function drupal_write_record($table, &$object, $primary_keys = array()) { // NOTE: Each table should come with one serial field only. if ($info['type'] == 'serial') { $serial = $field; - // Ignore values for serial when inserting data. Unsupported. - unset($object->$field); } // Build arrays for the fields and values in our query. |