--- /drupal/civicrm.module +++ /drupal/civicrm.module @@ -305,9 +305,11 @@ drupal_add_css($path . '/filter.css'); } } - CRM_Core_Config::singleton()->userSystem->setMySQLTimeZone(); + if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE != 'install') { + CRM_Core_Config::singleton()->userSystem->setMySQLTimeZone(); + } } - + return TRUE; }