projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d78a957
)
UpdateCurrencyRate.php
author
Alan Knowles
<alan@roojs.com>
Mon, 5 Oct 2015 08:18:53 +0000
(16:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 5 Oct 2015 08:18:53 +0000
(16:18 +0800)
UpdateCurrencyRate.php
patch
|
blob
|
history
diff --git
a/UpdateCurrencyRate.php
b/UpdateCurrencyRate.php
index
f7cda98
..
0cb3f31
100644
(file)
--- a/
UpdateCurrencyRate.php
+++ b/
UpdateCurrencyRate.php
@@
-1,6
+1,6
@@
<?php
-// note this no longer works
+// note this no longer works
-- we could try using their JSON feed?
require_once 'Pman.php';
@@
-33,6
+33,21
@@
class Pman_Core_UpdateCurrencyRate extends Pman
function get($args, $opts)
{
+
+ DB_DataObject::DebugLevel(1);
+ $d = DB_DataObject::Factory('core_curr_rate');
+ $d->loadRates();
+ die("done");
+
+
+
+
+
+
+
+ }
+ function oldversion()
+ {
$currency = array();
$response = $this->curl($this->actionUrl, array(), 'GET');