#250496 by rssaddict: Removed all database-specific code. #234821 by sigsby: Check for content.module before CCK-dependent code.