projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5487b3e
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Tue, 7 Oct 2014 06:18:52 +0000
(14:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 7 Oct 2014 06:18:52 +0000
(14:18 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
9100997
..
84bd1e1
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-117,13
+117,16
@@
class Pman_Xtuple_UpdateDatabase extends Pman_Core_UpdateDatabase
}
- function importModuleSQL()
+ function importModuleSQL(
$dburl
)
{
+
+ $dbtype = $dburl['scheme'];
+ $dirmethod = 'import' . $dburl['scheme'] . '.dir';
- echo "Importing SQL from module $m\n";
-
- $dirmethod = 'importpgsqldir';
$m = 'Xtuple';
+ echo "Xtyple:Importing SQL from module $m\n";
+
+
// if init has been called
// look in pgsql.ini
if (!empty($this->opts['init'])) {