projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909b20f
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 09:02:58 +0000
(17:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 09:02:58 +0000
(17:02 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
080cec2
..
dcc5e38
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-512,7
+512,9
@@
class Pman_Core_UpdateDatabase extends Pman
continue;
}
$type = str_replace('_', '-', substr($o,6));
+ var_dump($type);
$data= json_decode(file_get_contents($v),true);
+
DB_DataObject::factory($type)->importFromArray($this,$data,$opts);
}