projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
004a633
)
don't look up encryption config every record, RT#28526
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 17 May 2015 23:21:05 +0000
(16:21 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 17 May 2015 23:21:05 +0000
(16:21 -0700)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
ec0ba14
..
b1e4a38
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-72,9
+72,9
@@
FS::UID->install_callback( sub {
die $@ if $@;
$conf = FS::Conf->new;
$conf_encryption = $conf->exists('encryption');
die $@ if $@;
$conf = FS::Conf->new;
$conf_encryption = $conf->exists('encryption');
- $conf_encryptionmodule = $conf->
exists
('encryptionmodule');
- $conf_encryptionpublickey = $conf->
exists
('encryptionpublickey');
- $conf_encryptionprivatekey = $conf->
exists
('encryptionprivatekey');
+ $conf_encryptionmodule = $conf->
config
('encryptionmodule');
+ $conf_encryptionpublickey = $conf->
config
('encryptionpublickey');
+ $conf_encryptionprivatekey = $conf->
config
('encryptionprivatekey');
$money_char = $conf->config('money_char') || '$';
my $nw_coords = $conf->exists('geocode-require_nw_coordinates');
$lat_lower = $nw_coords ? 1 : -90;
$money_char = $conf->config('money_char') || '$';
my $nw_coords = $conf->exists('geocode-require_nw_coordinates');
$lat_lower = $nw_coords ? 1 : -90;