[freeside-commits] branch master updated. 49a6b0927001edb259a858841dd529e42fa58880
Ivan
ivan at 420.am
Sun May 17 16:21:04 PDT 2015
The branch, master has been updated
via 49a6b0927001edb259a858841dd529e42fa58880 (commit)
from 146fe88cea912f90629950876863ae95faa7600f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 49a6b0927001edb259a858841dd529e42fa58880
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun May 17 16:21:03 2015 -0700
don't look up encryption config every record, RT#28526
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index e324f15..b2ab713 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -65,9 +65,9 @@ FS::UID->install_callback( sub {
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;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Record.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list