oops, remove old-style duplicate check from replace, _check_duplicate was already...
authorivan <ivan>
Thu, 19 May 2005 09:49:46 +0000 (09:49 +0000)
committerivan <ivan>
Thu, 19 May 2005 09:49:46 +0000 (09:49 +0000)
FS/FS/svc_acct.pm

index 1daf83a..0a0f9f9 100644 (file)
@@ -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;