Created
April 27, 2012 20:15
-
-
Save johnrobertwilson/2512576 to your computer and use it in GitHub Desktop.
advisory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$advisory_nids = db_query('SELECT nid FROM node WHERE type = "advisory_team_bio" OR type = "advisory_group_organization")->fetchCol(); | |
$advisory_nodes = node_load_multiple($advisory_nids); | |
foreach ($advisory_nodes as $advisory_node) { | |
node_save($advisory_node); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment