diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-12-18 14:17:27 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-12-18 14:17:27 +0000 |
commit | 16bddb9d2496bd821345c9216900cac87f585e3a (patch) | |
tree | 2e57e543f8dd1d5a04dbf4b2b58cb36de81b1651 /extra | |
parent | 8396fff19b542e7a8daac7a3dd7ae5fb3954ef52 (diff) | |
download | redmine-16bddb9d2496bd821345c9216900cac87f585e3a.tar.gz redmine-16bddb9d2496bd821345c9216900cac87f585e3a.zip |
replace tabs to spaces at Redmine.pm
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11049 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r-- | extra/svn/Redmine.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 3d6a44be5..ac7387122 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -388,9 +388,9 @@ sub is_public_project { $sth->execute($project_id); my $ret = 0; if (my @row = $sth->fetchrow_array) { - if ($row[0] eq "1" || $row[0] eq "t") { - $ret = 1; - } + if ($row[0] eq "1" || $row[0] eq "t") { + $ret = 1; + } } $sth->finish(); undef $sth; @@ -467,9 +467,9 @@ sub is_member { } unless ($auth_source_id) { - my $method = $r->method; + my $method = $r->method; my $salted_password = Digest::SHA::sha1_hex($salt.$pass_digest); - if ($hashed_password eq $salted_password && (($access_mode eq "R" && $permissions =~ /:browse_repository/) || $permissions =~ /:commit_access/) ) { + if ($hashed_password eq $salted_password && (($access_mode eq "R" && $permissions =~ /:browse_repository/) || $permissions =~ /:commit_access/) ) { $ret = 1; last; } |