You are here

function drupalgap_update_7100 in DrupalGap 7

Enable the drupalgap_date module if the site has the date module enabled.

File

./drupalgap.install, line 14

Code

function drupalgap_update_7100(&$sandbox) {
  if (module_exists('date')) {
    if (!module_exists('drupalgap_date')) {
      module_enable(array(
        'drupalgap_date',
      ));
    }
  }
}