[development] is nodeapi hook a requirement or not?

Dries Buytaert dries.buytaert at gmail.com
Thu Mar 8 07:24:41 UTC 2007


On 08 Mar 2007, at 06:12, Rob Barreca wrote:

>> the problem is that we don't let modules know about these changes  
>> via nodeapi. so modules which listen on nodeapi('update') never  
>> know about this change.

> I think we definitely need to call the API instead of direct DB  
> updates. This is what I kept in mind when adding some user mass  
> operations http://cvs.drupal.org/viewcvs/drupal/drupal/modules/user/ 
> user.module?r1=1.721&r2=1.722

Yes, not calling the nodeapi is a bug that might result in data loss  
and/or data integrity issues.

--
Dries Buytaert  ::  http://www.buytaert.net/



More information about the development mailing list