Don't use node_save() use drupal_execute()

Scott Reynolds - November 5, 2009 - 22:11
Project:Kaltura
Version:6.x-1.4
Component:Code
Category:bug report
Priority:normal
Assigned:Scott Reynolds
Status:needs review
Description

This patch removes the node_save() for drupal_execute(). the advantage with this new approach is things like pathauto, comment settings an other things work that have a default value in the node form. Makes things an aweful lot more drupally, still though not the best. If a form element doesnt have a good default value, then it won't work. Things like simple taxonomies that are required probably won't work.

AttachmentSize
execute.patch12.11 KB
 
 

Drupal is a registered trademark of Dries Buytaert.