move replacement to hook_node_insert() #1944
Merge pull request #2526 from openscholar/1944-courses-apos

move replacement to hook_node_insert() #1944