projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac59a0f
)
Remove useless code
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 2 Jul 2009 23:20:04 +0000
(23:20 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 2 Jul 2009 23:20:04 +0000
(23:20 +0000)
mysql/backup_db.cgi
patch
|
blob
|
history
diff --git
a/mysql/backup_db.cgi
b/mysql/backup_db.cgi
index
7d81b0e
..
7e4d8dc
100755
(executable)
--- a/
mysql/backup_db.cgi
+++ b/
mysql/backup_db.cgi
@@
-129,15
+129,6
@@
if (!$in{'save'}) {
}
}
unlink($file);
- if ($in{'compress'} == 0) {
- $writer = ">$file";
- }
- elsif ($in{'compress'} == 1) {
- $writer = "| gzip -c >$file";
- }
- elsif ($in{'compress'} == 2) {
- $writer = "| bzip2 -c >$file";
- }
local $err = &backup_database($db, $file, $in{'compress'},
$in{'drop'}, $in{'where_def'} ? undef : $in{'where'},
$in{'charset_def'} ? undef : $in{'charset'},