function contact_attach_update_7100 in Contact Attach 7
Toggle usage of simple file field for users with file module enabled.
The module now uses a managed file field if the file module is enabled. Existing users are used to the simple file field so make sure this is not changed under their noses. This toggle is available on the settings page.
File
- ./
contact_attach.install, line 28 - Uninstall and update functions for the Contact Attach module.
Code
function contact_attach_update_7100() {
if (module_exists('file')) {
variable_set('contact_attach_simple_field', 1);
}
}