function farm_log_update_7006 in farmOS 7
Add movement field to activities, harvests, inputs, and observations.
File
- modules/
farm/ farm_log/ farm_log.install, line 339 - Farm Log install file.
Code
function farm_log_update_7006(&$sandbox) {
$modules = array(
'farm_log_activity',
'farm_log_harvest',
'farm_log_input',
'farm_log_observation',
);
foreach ($modules as $module) {
features_revert(array(
$module => array(
'field_instance',
),
));
}
}