From 3d4a3ffa131e07e53d40908a8bed38906c73445d Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 19 May 2005 09:49:46 +0000 Subject: [PATCH] oops, remove old-style duplicate check from replace, _check_duplicate was already below it --- FS/FS/svc_acct.pm | 5 ----- 1 file changed, 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; -- 2.11.0