/[smecontribs]/rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-FixAccountRemoval.patch
ViewVC logotype

Contents of /rpms/smeserver-subversion/contribs7/smeserver-subversion-1.4-FixAccountRemoval.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Nov 23 04:58:11 2008 UTC (15 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Part of epel

1 --- smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list.FixAccountRemoval 2008-08-10 15:45:57.000000000 +0200
2 +++ smeserver-subversion-1.4/root/etc/e-smith/events/actions/subversion-delete-from-access-list 2008-08-10 15:47:40.000000000 +0200
3 @@ -33,7 +33,7 @@
4
5 use esmith::AccountsDB;
6
7 -my $db_accounts = esmith::AccountsDB->open_ro() or
8 +my $db_accounts = esmith::AccountsDB->open() or
9 die "Couldn't open AccountsDB\n";
10
11 my @repositories = $db_accounts->get_all_by_prop('type' => 'repository');
12 @@ -42,7 +42,7 @@
13 (@repositories),
14 )
15 {
16 - my $repository_rec = $db_accounts->get($repository) || next REPOSITORY;
17 + my $repository_rec = $db_accounts->get($repository->key()) || next REPOSITORY;
18
19 foreach my $entry (@entries) {
20

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed