[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 86506e0d7c7b4dac280ec270100502e28e10c30b
Ivan
ivan at 420.am
Tue Dec 10 12:18:28 PST 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via 86506e0d7c7b4dac280ec270100502e28e10c30b (commit)
from c4acb5965a5062c7aa55fb02629b1b68e303ed8c (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 86506e0d7c7b4dac280ec270100502e28e10c30b
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Dec 10 12:18:26 2013 -0800
fix conf callback (align with v3/master), RT#25239 weirdness?
diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm
index 79cd6fa..7e5e26f 100644
--- a/FS/FS/svc_phone.pm
+++ b/FS/FS/svc_phone.pm
@@ -25,12 +25,13 @@ $DEBUG = 0;
@pw_set = ( 'a'..'k', 'm','n', 'p-z', 'A'..'N', 'P'..'Z' , '2'..'9' );
#ask FS::UID to run this stuff for us later
-$FS::UID::callback{'FS::svc_acct'} = sub {
+FS::UID->install_callback( sub {
$conf = new FS::Conf;
$phone_name_max = $conf->config('svc_phone-phone_name-max_length');
$passwordmin = $conf->config('sip_passwordmin') || 0;
$passwordmax = $conf->config('sip_passwordmax') || 80;
-};
+}
+);
=head1 NAME
-----------------------------------------------------------------------
Summary of changes:
FS/FS/svc_phone.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list