[fix] cron rolling curl call INSIDE the loop :/
This commit is contained in:
		
							parent
							
								
									24b37b2777
								
							
						
					
					
						commit
						f392ad11a0
					
				|  | @ -240,10 +240,9 @@ class m_cron { | ||||||
|             if (empty($urllist)) { // nothing to do : 
 |             if (empty($urllist)) { // nothing to do : 
 | ||||||
|                 exit(0); |                 exit(0); | ||||||
|             } |             } | ||||||
| 
 |  | ||||||
|             // cron_callback($url, $content, $curlobj) will be called at the end of each http call.
 |  | ||||||
|             $this->rolling_curl($urllist, array("m_cron", "cron_callback")); |  | ||||||
|         } |         } | ||||||
|  |         // cron_callback($url, $content, $curlobj) will be called at the end of each http call.
 | ||||||
|  |         $this->rolling_curl($urllist, array("m_cron", "cron_callback")); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Benjamin Sonntag
						Benjamin Sonntag