summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-12-06 09:48:09 -0800
committerMark Wells <mark@freeside.biz>2014-12-06 09:48:09 -0800
commit56efb22e0fe7adb1aebad517c6975edbf6e1c921 (patch)
tree629f99010f3cf303032ae233f0e4231fb0de0330 /FS/FS
parent56d10a0d13cc291eb5ee6197c35b10407794f89c (diff)
fix stupid compile error
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/cust_location.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm
index 72cd8567e..23dbce909 100644
--- a/FS/FS/cust_location.pm
+++ b/FS/FS/cust_location.pm
@@ -267,10 +267,6 @@ sub replace {
my $old = shift;
$old ||= $self->replace_old;
# the following fields are immutable
- if ($self->get('unlock')) {
- # well, mostly immutable
- warn "WARNING: locationnum ".$old->locationnum." MODIFIED IN PLACE\n";
- } else {
foreach (qw(address1 address2 city state zip country)) {
if ( $self->$_ ne $old->$_ ) {
return "can't change cust_location field $_";