Add Farm Import as a farmOS dependency and install on existing sites via an update hook.
This commit is contained in:
parent
03fd5d4441
commit
b12434da94
|
@ -44,6 +44,7 @@ dependencies[] = farm_area
|
|||
dependencies[] = farm_asset
|
||||
dependencies[] = farm_fields
|
||||
dependencies[] = farm_help
|
||||
dependencies[] = farm_import
|
||||
dependencies[] = farm_log
|
||||
dependencies[] = farm_map
|
||||
dependencies[] = farm_menu
|
||||
|
|
|
@ -562,6 +562,13 @@ function farm_update_7025(&$sandbox) {
|
|||
->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
* Install the new Farm Import module.
|
||||
*/
|
||||
function farm_update_7026(&$sandbox) {
|
||||
_farm_update_enable_modules(array('farm_import'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update helper function: enable modules.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue