@@ -302,9 +302,6 sub is_member { | |||||
302 |
|
302 | |||
303 | my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config); |
|
303 | my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config); | |
304 | my $usrprojpass; |
|
304 | my $usrprojpass; | |
305 | unless ($project_id) { |
|
|||
306 | print $r->location."\n"; |
|
|||
307 | } |
|
|||
308 | if ($cfg->{RedmineMemcache}) { |
|
305 | if ($cfg->{RedmineMemcache}) { | |
309 | $usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id); |
|
306 | $usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id); | |
310 | return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest)); |
|
307 | return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest)); | |
@@ -358,7 +355,7 sub get_project_identifier { | |||||
358 |
|
355 | |||
359 | my $location = $r->location; |
|
356 | my $location = $r->location; | |
360 | my ($identifier) = $r->uri =~ m{$location/*([^/]+)}; |
|
357 | my ($identifier) = $r->uri =~ m{$location/*([^/]+)}; | |
361 | $identifier; |
|
358 | $identifier ? $identifier : " "; | |
362 | } |
|
359 | } | |
363 |
|
360 | |||
364 | sub connect_database { |
|
361 | sub connect_database { |
General Comments 0
You need to be logged in to leave comments.
Login now