The .install file should ensure that content_notify() is available before trying to use it hook_install(), hook_uninstall(), hook_enable(), and hook_disable(). Although it's unlikely that these will be missing now that ImageField depends on FileField (and after this patch #301398: Install error: Call to undefined function content_notify()., FileField should load content.module for us).

Nevertheless, it'd be good to follow suit of all the other content modules and include these.

CommentFileSizeAuthor
imagefield_content_load.patch843 bytesquicksketch

Comments

quicksketch’s picture

Title: Imagefield Installer Error » Imagefield Installer Should Ensure content.module's Loading

This isn't really an error, more like an insurance policy and a best practice.

drewish’s picture

Status: Needs review » Fixed

thanks, committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.