projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e987099
)
Dump.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 21 Mar 2011 09:04:56 +0000
(17:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 21 Mar 2011 09:04:56 +0000
(17:04 +0800)
Dump.php
patch
|
blob
|
history
diff --git
a/Dump.php
b/Dump.php
index
386299c
..
1d536b8
100644
(file)
--- a/
Dump.php
+++ b/
Dump.php
@@
-417,14
+417,10
@@
class Pman_Admin_Dump extends Pman {
function generateInsert()
{
$target = $this->args['dump-dir'] .'/'. date('Y-m-d').'.sql';
- $out[] = $target;
+ $
this->
out[] = $target;
$fh = fopen($target,'w');
-
- fwrite($this->fh, $this->toInsert($x));
- $this->dumpChildren($x);
-
- }
+
foreach($this->dumps as $tbl => $ar) {