I did it last week and it seems to work. No problem for me.<div><br></div><div>Brice<br><div><br><br><div class="gmail_quote">2010/11/12 Eric Schaefer <span dir="ltr">&lt;<a href="mailto:eric.schaefer@eas-consulting.de">eric.schaefer@eas-consulting.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi List,<br>
<br>
I want to create a new revision of a node from a module. I could not<br>
find a function for that in the api docs (D6). I figured out (by<br>
poking at node.module) I could just set $node-&gt;revision to TRUE and<br>
set $node-&gt;log to something meaningful and it works. But since I did<br>
not find any documentation about this I thought I should ask here<br>
before breaking anything. Is my approach correct or will it do<br>
something &quot;surprising&quot;?<br>
<br>
Regards,<br>
<font color="#888888">Eric<br>
</font></blockquote></div><br></div></div>