summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2005-05-19 09:49:46 +0000
committerivan <ivan>2005-05-19 09:49:46 +0000
commit3d4a3ffa131e07e53d40908a8bed38906c73445d (patch)
tree15ed1754d4356b45a39eb5978619685879b84383 /FS
parentb3f4251177b50175109c566e72f3c556bb6ed586 (diff)
oops, remove old-style duplicate check from replace, _check_duplicate was already below it
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_acct.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 1daf83a32..0a0f9f9a8 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -463,11 +463,6 @@ sub replace {
return "can't modify system account" if $old->_check_system;
- return "Username in use"
- if $old->username ne $new->username &&
- qsearchs( 'svc_acct', { 'username' => $new->username,
- 'domsvc' => $new->domsvc,
- } );
{
#no warnings 'numeric'; #alas, a 5.006-ism
local($^W) = 0;