| 1 |
<?php |
<?php |
| 2 |
// $Id: advogato_import.module,v 1.7 2008/03/19 02:15:15 deekayen Exp $ |
// $Id: advogato_import.module,v 1.8 2008/07/29 15:02:09 deekayen Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 254 |
// node_submit() would probably be more "proper", but it calls |
// node_submit() would probably be more "proper", but it calls |
| 255 |
// drupal_set_message() on each execution, which can be messy |
// drupal_set_message() on each execution, which can be messy |
| 256 |
// on users' next page load with lots of imports. |
// on users' next page load with lots of imports. |
| 257 |
var_dump(node_save($node)); |
node_save($node); |
| 258 |
|
|
| 259 |
// node_submit() normally calls this |
// node_submit() normally calls this |
| 260 |
watchdog('content', t('%type: added %title.', |
watchdog('content', t('%type: added %title.', |