From f4e450be6db003da884eab988bc523166578fdb1 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 1 Jan 2012 22:06:44 +0000 Subject: Generate email addresses from username --- lib/Iurt/Config.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/Iurt/Config.pm') diff --git a/lib/Iurt/Config.pm b/lib/Iurt/Config.pm index c7cde22..ac0427d 100644 --- a/lib/Iurt/Config.pm +++ b/lib/Iurt/Config.pm @@ -244,12 +244,9 @@ sub get_maint { $email_maint, $srpm_name; } -# TODO: would be nicer (really?) to use repsys configuration directly, and -# query the users list in there and LDAP according to it sub get_author_email { my ($user) = @_; - my $authoremail = `repsys authoremail $user 2>/dev/null`; - chomp($authoremail); + my $authoremail = $user . '@mageia.org'; return $authoremail; } -- cgit v1.2.1