projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db51ef8
)
UpdateCurrencyRate.php
author
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:41:45 +0000
(16:41 +0800)
committer
Edward
<edward@roojs.com>
Mon, 20 Oct 2014 08:41:45 +0000
(16:41 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
3a1ba09
..
fc37c1f
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-29,9
+29,7
@@
class Pman_Core_UpdateCurrencyRate extends Pman
}
function get()
- {
- echo "obtain the currency lists... \n";
-
+ {
$currency = array();
$response = $this->curl($this->actionUrl, array(), 'GET');
@@
-62,7
+60,7
@@
class Pman_Core_UpdateCurrencyRate extends Pman
foreach ($currency as $k => $c){
- echo "\nProcessing Currency : $c ($k / $total)";
+ echo "\nProcessing Currency : $c ($k / $total)
\n
";
$params = array(
'lang' => 'en',