fixing E-Mail
This commit is contained in:
		
							parent
							
								
									74816f193b
								
							
						
					
					
						commit
						e82490018c
					
				|  | @ -21,8 +21,6 @@ if(!is_dir($downloadDir)){ | ||||||
| 
 | 
 | ||||||
| function doRequest($data, $filename, $username, $password) | function doRequest($data, $filename, $username, $password) | ||||||
| { | { | ||||||
|     echo "doing Request: ".json_encode($data); |  | ||||||
|     echo "<br>"; |  | ||||||
|     $response = sendAPICompanySearchRequest($username, $password, $data); |     $response = sendAPICompanySearchRequest($username, $password, $data); | ||||||
|     $companyArray = json_decode($response, true); |     $companyArray = json_decode($response, true); | ||||||
|     $companyData = array(); |     $companyData = array(); | ||||||
|  | @ -111,8 +109,6 @@ while($latesEndTime - time() > 60){ | ||||||
|             // if there are any requests to do, do the first
 |             // if there are any requests to do, do the first
 | ||||||
|             if(count($task['requests']) > 0) { |             if(count($task['requests']) > 0) { | ||||||
|                 doRequest($task['requests'][0], str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]), $username , $password); |                 doRequest($task['requests'][0], str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]), $username , $password); | ||||||
|                 echo "Request done"; |  | ||||||
|                 echo "<br>"; |  | ||||||
|                 array_shift($task['requests']); |                 array_shift($task['requests']); | ||||||
|                 $taskString = json_encode($task); |                 $taskString = json_encode($task); | ||||||
|                 $taskfile = fopen($taskDir.'/'.$taskfiles[0], 'w'); |                 $taskfile = fopen($taskDir.'/'.$taskfiles[0], 'w'); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue