mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01:00
If project_id is uninitialized, initialize it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/swistak@2050 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user