UpdateCurrencyRate.php
[Pman.Core] / UpdateCurrencyRate.php
index bb1b12e..1272704 100644 (file)
@@ -38,7 +38,6 @@ class Pman_Core_UpdateCurrencyRate extends Pman
     
     function get($args, $opts)
     {   
-        print_R($opts);exit;
         $currency = array();
         
         $response = $this->curl($this->actionUrl, array(), 'GET');
@@ -105,8 +104,11 @@ class Pman_Core_UpdateCurrencyRate extends Pman
             }
         }
         
-        $this->jok("DONE");
+        if(empty($opts['procedures-only'])){
+            $this->jok("DONE");
+        }
         
+        return;
     }
     
     function processCurrRate($currency, $rate, $from, $to)