Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <?php
  2. $type = 'my_node_type'; $nids = db_query('select nid from node where type = :type', array(':type' => $type))->fetchCol(); pathauto_node_update_alias_multiple($nids, 'bulkupdate', array('message' => TRUE));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement