Changeset 4024


Ignore:
Timestamp:
04/14/11 10:53:29 (13 years ago)
Author:
brunocosta
Message:

Ticket #1743 - Mudanças no tipo de eventos recorrentes.

Location:
branches/2.2.0.1/calendar/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/calendar/inc/class.socalendar.inc.php

    r3976 r4024  
    122122                        $starttime = mktime(0,0,0,$smonth,$sday,$syear) - $GLOBALS['phpgw']->datetime->tz_offset; 
    123123                        $endtime = mktime(23,59,59,$emonth,$eday,$eyear) - $GLOBALS['phpgw']->datetime->tz_offset; 
    124                         $sql = "AND phpgw_cal.cal_type='M' AND phpgw_cal_user.cal_login IN (". 
     124                        $sql = "AND phpgw_cal_user.cal_login IN (". 
    125125                                (is_array($owner_id) ? implode(',',$owner_id) : $owner_id).')'; 
    126126 
  • branches/2.2.0.1/calendar/inc/class.socalendar_sql.inc.php

    r4009 r4024  
    953953                        $enddate = $this->maketime($event['end']) - $GLOBALS['phpgw']->datetime->tz_offset; 
    954954                        $today = time() - $GLOBALS['phpgw']->datetime->tz_offset; 
    955  
    956                         if($event['recur_type'] != MCAL_RECUR_NONE) 
    957                         { 
    958                                 $type = 'M'; 
    959                         } 
    960                         else 
    961                         { 
     955// 
     956//                      if($event['recur_type'] != MCAL_RECUR_NONE) 
     957//                      { 
     958//                              $type = 'M'; 
     959//                      } 
     960//                      else 
     961//                      { 
    962962                                if ($event['type'] == 'hourAppointment') 
    963963                                        $type = 'H'; 
     
    966966                                }else 
    967967                                        $type = 'E'; 
    968                         } 
    969  
    970                         is_array($event['attachment'])?$sattach=serialize($event['attachment']):$sattach=''; 
     968//                      } 
     969                        is_array($event['attachment'])?$sattach=serialize($event['attachment']):$sattach=''; 
    971970 
    972971                        $sql = 'UPDATE phpgw_cal SET ' 
Note: See TracChangeset for help on using the changeset viewer.