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