Enable tzfield module on update

Add installation profile update hook to enable the newly added
tzfield module.

Change-Id: Id1b0e3130e55c39424dbe00a287f5cd12fae48af
This commit is contained in:
Marton Kiss 2016-07-22 22:20:11 +02:00
parent 6997b25f20
commit ab47a69af2
1 changed files with 10 additions and 0 deletions

View File

@ -382,6 +382,16 @@ function groups_update_7121() {
}
}
/**
* Enable tzfield module related to https://review.openstack.org/#/c/341385/
*/
function groups_update_7122() {
if (!module_exists('tzfield')) {
module_enable(array('tzfield'));
}
drupal_flush_all_caches();
}
/**
* Set language negotiation to URL based.
*/