Remove custom node_save function
yrocq - December 11, 2008 - 15:49
| Project: | Wordpress Import |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | lavamind |
| Status: | closed |
Jump to:
Description
db_next_id() is deprecated. Use db_last_insert_id() instead.

#1
Remove custom node_save function and use sql query to change the fields that we can't set when creating the node.
#2
Custom node_save function just looks like a stripped down version of 5's. What extra fields were being set in it?
#3
Hum, 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.
#4
#5
Fixed in 6.x-2.x-dev, we use Drupal's built-in node_save() function now.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.