From: ivan Date: Thu, 19 May 2005 09:49:46 +0000 (+0000) Subject: oops, remove old-style duplicate check from replace, _check_duplicate was already... X-Git-Tag: BEFORE_FINAL_MASONIZE~519 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=3d4a3ffa131e07e53d40908a8bed38906c73445d oops, remove old-style duplicate check from replace, _check_duplicate was already below it --- 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;