Throughout your code you have a lot of commented out items as well as unused variables. I'd suggest going through your module and cleaning up the unused variables as well as any commented out lines of code such as

//    drupal_set_message( 'End date:'.$end_date );
//    drupal_set_message( 'Start '.$start_date.'---- as a Timestamp  '.date('m/d/Y',strtotime($start_date)).' Test date: '.date('m/d/Y',strtotime( '-0 day')) );

Comments

dbt102’s picture

Issue summary: View changes
dbt102’s picture

I cleaned up many unused variables and committed them while working on some other issues at https://www.drupal.org/node/2318877#comment-9049005 . Closing this for now since the code noted, and more was addressed.

dbt102’s picture

Status: Active » Closed (fixed)