Closed (fixed)
Project:
Wordpress Import
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Dec 2008 at 15:49 UTC
Updated:
15 Nov 2009 at 03:50 UTC
db_next_id() is deprecated. Use db_last_insert_id() instead.
Comments
Comment #1
yrocq commentedRemove custom node_save function and use sql query to change the fields that we can't set when creating the node.
Comment #2
raines37 commentedCustom node_save function just looks like a stripped down version of 5's. What extra fields were being set in it?
Comment #3
yrocq commentedHum, I may have confused with something else. If I remember, I created the wordpress_import_node_save because I wanted to prevent the watchdog table from being filled by nodes creation notices. Maybe it wasn't necessary and we could use the original function.
Comment #4
yrocq commentedComment #5
lavamind commentedFixed in 6.x-2.x-dev, we use Drupal's built-in node_save() function now.