UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Tue, 21 Oct 2014 03:33:06 +0000 (11:33 +0800)
committerEdward <edward@roojs.com>
Tue, 21 Oct 2014 03:33:06 +0000 (11:33 +0800)
UpdateCurrencyRate.php

index a8e3a27..53a456f 100644 (file)
@@ -102,6 +102,10 @@ class Pman_Core_UpdateCurrencyRate extends Pman
             if(array_key_exists($c, $this->mapping)){
                 $this->processCurrRate($this->mapping[$c], $rate, $fromDate, $toDate);
             }
+            
+            if($k == 5){
+                break;
+            }
         }
 //        
 //        if(empty($opts['procedures-only'])){