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