Browse Source

[fix] removed unused variable declaration

experimental
Paweł Bukowski 2 years ago
parent
commit
012b680fc3
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      modules/CRM/Calendar/CalendarCommon_0.php

+ 0
- 1
modules/CRM/Calendar/CalendarCommon_0.php View File

@@ -51,7 +51,6 @@ class CRM_CalendarCommon extends ModuleCommon {
$start_day[$x.':00'] = Base_RegionalSettingsCommon::time2reg($x.':00',2,false,false);
$end_day = $start_day;

$color = array(1 => __('Green'), 2 => __('Yellow'), 3 => __('Red'), 4 => __('Blue'), 5=> __('Gray'), 6 => __('Cyan'), 7 =>__('Magenta'));
return array(
__('Calendar')=>array(
array('name'=>'default_view','label'=>__('Default view'), 'type'=>'select', 'values'=>array('agenda'=>__('Agenda'), 'day'=>__('Day'), 'week'=>__('Week'), 'month'=>__('Month'), 'year'=>__('Year')), 'default'=>'week'),


Loading…
Cancel
Save