projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d9257
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 05:16:08 +0000
(13:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 05:16:08 +0000
(13:16 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
5495561
..
f399a2c
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-57,6
+57,8
@@
class Pman_Xtuple_UpdateDatabase extends Pman
+
+
if($k == 'accnt'){
if(empty($opt['source'])){
die("Missing Source directory for account json files! Try -f [JSON file path] \n");
@@
-154,6
+156,11
@@
class Pman_Xtuple_UpdateDatabase extends Pman
) : array($k);
+ $core_opts = HTML_FlexyFramework::get()->page->opts;
+ if (!empty($core_opts['init'])) {
+
+ }
+
foreach($tables as $t) {
$cs = DB_DataObject::factory($t);
@@
-161,6
+168,10
@@
class Pman_Xtuple_UpdateDatabase extends Pman
}
+ // update data is called from main
+
+
+
}