projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218993a
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 06:01:04 +0000
(14:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 06:01:04 +0000
(14:01 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
0ce9144
..
1c4648c
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-101,16
+101,14
@@
class Pman_Xtuple_UpdateDatabase extends Pman
{
- $
accounts
= json_decode(file_get_contents($file),true);
+ $
data
= json_decode(file_get_contents($file),true);
- DB_DataObject::factory('
accnt')->importFromArray($this, $account
s);
+ DB_DataObject::factory('
$db')->importFromArray($thi
s);
-
- die("DONE! \n");
- }
}
+
function get($k = '',$opt)
{
$k = strtolower($k);