[development] node_delete on module specific node

Nancy Wichmann nan_wich at bellsouth.net
Tue Apr 28 21:35:42 UTC 2009


IMHO, if you want to see a really good node module in action, check the FAQ module, which IIRC does delete its nodes on uninstall.
 
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. - Martin L. King, Jr.
 
-----Original Message-----
From: development-bounces at drupal.org [mailto:development-bounces at drupal.org]On Behalf Of sivaji j.g
Sent: Tuesday, April 28, 2009 4:58 PM
To: development at drupal.org
Subject: [development] node_delete on module specific node
 
Hello folks

I am a gsoc student working on quiz module. Quiz module treats quiz and its question types (multichoice, true/false etc) as a Drupal nodes. I would like to know whether i can delete a nodes specific to quiz module in hook_uninstall. My mentor and current maintainer of quiz module mbutcher is not sure about this. I have already asked this question in #drupal and came to know that core modules never deletes thier node with type story, page etc but nobody is sure about nodes specific modules.

If you suggest me to leave quiz nodes untouched like core modules imagine the situation where i have some primary links to quiz nodes and quiz nodes promoted to front page they remains active even if i uninstall quiz module, how should i handle this situation ? or shall i unpublish the quiz nodes to tackle this situation ? 



-- 
Thanks a lot 
-----------------------------------------
http://ubuntuslave.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090428/9f237569/attachment.htm>
-------------- next part --------------

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.12.6/2084 - Release Date: 4/28/2009 6:15 AM


More information about the development mailing list