Delete joomla records on node / term / user delete

agentrickard - October 12, 2009 - 18:16
Project:Joomla to Drupal
Version:6.x-1.0-alpha3
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I am about to do a fair amount of importing (35+ Joomla sites to one Drupal site). And I want to run some import tests. When done, I would (naturally) delete the nodes/users/terms created and then start over.

A generic question comes out of this:

Should we be updating the three {joomla} tables on node/user/term delete? This is an easy patch.

If so, how would we now to clear records from {joomla_section)?

#1

agentrickard - October 12, 2009 - 18:18

I see. section ~= vocabulary.

#2

agentrickard - October 13, 2009 - 20:52
Status:active» needs review

Patch for hook_nodeapi().

AttachmentSize
602526-nodeapi.patch 645 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.