From fb5d44bc2c1c2d3ea79c4c9d19ea0d8c7d1f6950 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 25 Apr 2009 17:52:43 +0000 Subject: #303965 by moshe weitzman and snufkin: Allow data import scripts to set /->is_new programmatically. --- includes/common.inc | 2 -- 1 file changed, 2 deletions(-) (limited to 'includes/common.inc') 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. -- cgit v1.2.3