summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/svn/Redmine.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm
index de28c71d4..45d64be8e 100644
--- a/extra/svn/Redmine.pm
+++ b/extra/svn/Redmine.pm
@@ -302,9 +302,6 @@ sub is_member {
my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config);
my $usrprojpass;
- unless ($project_id) {
- print $r->location."\n";
- }
if ($cfg->{RedmineMemcache}) {
$usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id);
return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest));
@@ -358,7 +355,7 @@ sub get_project_identifier {
my $location = $r->location;
my ($identifier) = $r->uri =~ m{$location/*([^/]+)};
- $identifier;
+ $identifier ? $identifier : " ";
}
sub connect_database {