Skip to content

Commit

Permalink
DEBUG: removed a few var_dumps (OOPS)...
Browse files Browse the repository at this point in the history
  • Loading branch information
micschk committed Nov 17, 2011
1 parent 0f81152 commit 82b70bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ protected function importFromFeeds($all_events, $start_date = null, $end_date =
if(isset($event[$dt_start]) && isset($event[$dt_end])) {
list($start_date, $end_date, $start_time, $end_time) = CalendarUtil::date_info_from_ics($event[$dt_start], $event[$dt_end]);
$t_start = strtotime($start_date);
var_dump($start_date."--".$event['SUMMARY']."--".$event[$dt_start]);
$t_end = strtotime($end_date);
if($t_start >= $this->start_date->get() || array_key_exists("RRULE", $event) ) {

Expand Down Expand Up @@ -377,7 +376,6 @@ protected function importFromFeeds($all_events, $start_date = null, $end_date =
$occur = strtotime( date("Y-m-d", $occur)." +".$interval." $freq") ) {

if( $occur >= $this->start_date->get() && $occur <= $this->end_date->get() ){
print date("Y-m-d", $this->end_date->get() ) ;
$c = $this->getEventDateTimeClass();
$new_date = new $c();
$new_date->StartDate = date("Y-m-d", $occur);
Expand Down

0 comments on commit 82b70bb

Please sign in to comment.