projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove redundant code for coord lookups
[freeside.git]
/
FS
/
FS
/
cust_location.pm
diff --git
a/FS/FS/cust_location.pm
b/FS/FS/cust_location.pm
index
9df8de6
..
6f7eb99
100644
(file)
--- a/
FS/FS/cust_location.pm
+++ b/
FS/FS/cust_location.pm
@@
-195,9
+195,6
@@
sub check {
;
return $error if $error;
- $self->set_coord
- unless $self->latitude && $self->longitude;
-
return "No prospect or customer!" unless $self->prospectnum || $self->custnum;
return "Prospect and customer!" if $self->prospectnum && $self->custnum;