[freeside-commits] branch FREESIDE_3_BRANCH updated. 529c23d58c97eca1d71df865988def671bfbd2cb

Ivan ivan at 420.am
Sun May 17 16:21:06 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  529c23d58c97eca1d71df865988def671bfbd2cb (commit)
      from  004a6337cff05d08db7abc400e1c09430f000ac0 (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 529c23d58c97eca1d71df865988def671bfbd2cb
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun May 17 16:21:05 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 ec0ba14..b1e4a38 100644
--- 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');
-  $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