projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3f96433
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 09:15:03 +0000
(17:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 09:15:03 +0000
(17:15 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
c2db03b
..
4b19b93
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-222,6
+222,10
@@
class Pman_Core_UpdateDatabase extends Pman
foreach($ar as $m) {
+ if (!empty($this->opts['only-module-sql']) && $m != $this->opts['only-module-sql']) {
+ continue;
+ }
+
$fd = $this->rootDir. "/Pman/$m/DataObjects";
$this->importmysqldir($dburl, $fd);