Remove the unused date code. #539
This commit is contained in:
parent
643bc61bf9
commit
b7c722d8e9
1 changed files with 0 additions and 10 deletions
|
|
@ -48,19 +48,9 @@ class GenerateCustomerSourceReportCommand extends Command
|
|||
$month = $input->getArgument('month');
|
||||
$csv_file = $input->getArgument('csv_file');
|
||||
|
||||
$start_date = DateTime::createFromFormat('Y-m-d', $year . '-' . $month . '-01');
|
||||
$end_date = DateTime::createFromFormat('Y-m-d', $year . '-' . $month . '-01');
|
||||
$start_date->setTime(0, 0);
|
||||
$str_start_date = $start_date->format('Y-m-d H:i:s');
|
||||
|
||||
$end_date->modify('last day of this month');
|
||||
$end_date->setTime(23, 59);
|
||||
$str_end_date = $end_date->format('Y-m-d H:i:s');
|
||||
|
||||
// get all mobile user customer id hash
|
||||
$resq_cust_ids = $this->getRESQCustomerIDs();
|
||||
|
||||
|
||||
// TODO: error checking for file
|
||||
$fp = fopen($csv_file, 'w');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue