[Bps-public-commit] r20276 - in RT-Authen-ExternalAuth/trunk/lib/RT: Authen
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sun Feb 20 08:29:08 EST 2011
Author: sunnavy
Date: Sun Feb 20 08:29:07 2011
New Revision: 20276
Removed:
RT-Authen-ExternalAuth/trunk/lib/RT/User_Vendor.pm
Modified:
RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm
Log:
customized CanonicalizeUserInfo in User_Vendor.pm makes RT::Test cry, so move it to ExternalAuth.pm
Modified: RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm
==============================================================================
--- RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm (original)
+++ RT-Authen-ExternalAuth/trunk/lib/RT/Authen/ExternalAuth.pm Sun Feb 20 08:29:07 2011
@@ -545,4 +545,13 @@
}
+{
+ no warnings 'redefine';
+ *RT::User::CanonicalizeUserInfo = sub {
+ my $self = shift;
+ my $args = shift;
+ return ( CanonicalizeUserInfo( $self, $args ) );
+ };
+}
+
1;
More information about the Bps-public-commit
mailing list