You are here

function farm_update_7027 in farmOS 7

Enable new Farm Season module and remove Farm Taxonomy.

File

./farm.install, line 667
farmOS install file.

Code

function farm_update_7027(&$sandbox) {

  // Enable Farm Season.
  _farm_update_enable_modules(array(
    'farm_season',
  ));

  // Delete the farm_taxonomy module.
  db_delete('system')
    ->condition('name', 'farm_taxonomy')
    ->condition('type', 'module')
    ->execute();
}