projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c980083
)
surpress warnings
author
ivan
<ivan>
Wed, 19 Dec 2001 14:30:12 +0000
(14:30 +0000)
committer
ivan
<ivan>
Wed, 19 Dec 2001 14:30:12 +0000
(14:30 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
382987e
..
11f09a1
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-552,8
+552,10
@@
sub replace {
qsearchs( 'svc_acct', { 'username' => $new->username,
'domsvc' => $new->domsvc,
} );
qsearchs( 'svc_acct', { 'username' => $new->username,
'domsvc' => $new->domsvc,
} );
-
- return "Can't change uid!" if $old->uid != $new->uid;
+ {
+ no warnings 'numeric';
+ 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;
@@
-961,7
+963,7
@@
sub ssh {
=head1 VERSION
=head1 VERSION
-$Id: svc_acct.pm,v 1.5
6 2001-12-18 01:49:35
ivan Exp $
+$Id: svc_acct.pm,v 1.5
7 2001-12-19 14:30:12
ivan Exp $
=head1 BUGS
=head1 BUGS