projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1c7bf3
)
quiet warnings
author
ivan
<ivan>
Thu, 20 Dec 2001 02:07:04 +0000
(
02:07
+0000)
committer
ivan
<ivan>
Thu, 20 Dec 2001 02:07:04 +0000
(
02:07
+0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
139303b
..
ba8f32f
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-552,10
+552,11
@@
sub replace {
qsearchs( 'svc_acct', { 'username' => $new->username,
'domsvc' => $new->domsvc,
} );
qsearchs( 'svc_acct', { 'username' => $new->username,
'domsvc' => $new->domsvc,
} );
-# {
-# no warnings 'numeric'; #alas, a 5.006-ism
+ {
+ #no warnings 'numeric'; #alas, a 5.006-ism
+ local($^W) = 0;
return "Can't change uid!" if $old->uid != $new->uid;
return "Can't change uid!" if $old->uid != $new->uid;
-
#
}
+ }
return "can't change username using Cyrus"
if $cyrus_server && $old->username ne $new->username;
return "can't change username using Cyrus"
if $cyrus_server && $old->username ne $new->username;
@@
-963,7
+964,7
@@
sub ssh {
=head1 VERSION
=head1 VERSION
-$Id: svc_acct.pm,v 1.5
8 2001-12-19 14:33:48
ivan Exp $
+$Id: svc_acct.pm,v 1.5
9 2001-12-20 02:07:04
ivan Exp $
=head1 BUGS
=head1 BUGS