projects
/
pgpooladmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afb736
)
allow weight 0.
author
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Fri, 26 Jan 2007 07:38:30 +0000
(07:38 +0000)
committer
Yoshiyuki Asaba
<y-asaba at pgfoundry.org>
Fri, 26 Jan 2007 07:38:30 +0000
(07:38 +0000)
pgconfig.php
patch
|
blob
|
blame
|
history
diff --git
a/pgconfig.php
b/pgconfig.php
index bd2888dc7c726ce0349e0ea43cef61c36e3abca6..4b959b3ef385605aba0dd954bfdcfa91d145b195 100644
(file)
--- a/
pgconfig.php
+++ b/
pgconfig.php
@@
-179,9
+179,6
@@
switch( $action ) {
$result = checkFloat ($weight,
$pgpoolConfigBackendParam['backend_weight']['min'],
$pgpoolConfigBackendParam['backend_weight']['max']);
- if($weight == 0) {
- $result = FALSE;
- }
if(!$result) {
$error['backend_weight'][$i] = TRUE;
} else {