repo_rights is no longer a kosher *public* interface

so remove the last vestiges of it from the contrib area
This commit is contained in:
Sitaram Chamarty 2011-09-02 20:32:12 +05:30
parent 330bed0dcf
commit 10985cb534

View file

@ -47,7 +47,7 @@ unshift @INC, $ENV{GL_BINDIR};
require gitolite or die "parse gitolite.pm failed\n"; require gitolite or die "parse gitolite.pm failed\n";
gitolite->import; gitolite->import;
my ($perm, $creator, $wild) = repo_rights($repo); my ($perm, $creator) = check_access($repo);
die "you don't have read access to $repo\n" unless $perm =~ /R/; die "you don't have read access to $repo\n" unless $perm =~ /R/;
my @logfiles = sort glob("$ENV{GL_ADMINDIR}/logs/*"); my @logfiles = sort glob("$ENV{GL_ADMINDIR}/logs/*");