Install the new Farm People and UI modules via an update hook on existing sites.

This commit is contained in:
Michael Stenta 2017-06-22 15:46:05 -04:00
parent ab8562fed6
commit 82ca34a32a
1 changed files with 7 additions and 0 deletions

View File

@ -535,6 +535,13 @@ function farm_update_7024(&$sandbox) {
db_query('INSERT INTO {field_revision_field_farm_log_owner} (' . $select . ')');
}
/**
* Install the Farm People and Farm UI modules.
*/
function farm_update_7025(&$sandbox) {
_farm_update_enable_modules(array('farm_people', 'farm_ui'));
}
/**
* Update helper function: enable modules.
*/