Download & Extend

Imagefield Installer Should Ensure content.module's Loading

Project:ImageField
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
imagefield_content_load.patch843 bytes

Comments

#1

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.

#2

Status:needs review» fixed

thanks, committed to HEAD.

#3

Status:fixed» closed (fixed)

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