Commit a13753f0 authored by DeekshaPrabhuB's avatar DeekshaPrabhuB Committed by Mingsong Hu

Issue #3103811 by Deeksha B, Mingsong: Deprecated Code Report

parent cfe23bb3
......@@ -112,7 +112,7 @@ function template_preprocess_views_view_fullcalendar(array &$variables) {
$exc_field_option = empty($exc_field) ? NULL : $fields[$exc_field]->options;
// Custom timezone or user timezone.
$timezone = !empty($start_field_option['settings']['timezone_override']) ?
$start_field_option['settings']['timezone_override'] : drupal_get_user_timezone();
$start_field_option['settings']['timezone_override'] : date_default_timezone_get();
// Open a new window for details of an event.
$title_field = (empty($options['title']) || $options['title'] == 'title') ? 'title' : $options['title'];
// Calendar entries linked to entity.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment