[Debtags-commits] [svn] r1493 -
central-database/branches/alioth/webfrontend
Enrico Zini
enrico at costa.debian.org
Mon Nov 14 20:22:24 UTC 2005
Author: enrico
Date: Mon Nov 14 20:22:23 2005
New Revision: 1493
Modified:
central-database/branches/alioth/webfrontend/Engine.pm
Log:
Fixed deletion of old tags when syncing vocabulary
Modified: central-database/branches/alioth/webfrontend/Engine.pm
==============================================================================
--- central-database/branches/alioth/webfrontend/Engine.pm (original)
+++ central-database/branches/alioth/webfrontend/Engine.pm Mon Nov 14 20:22:23 2005
@@ -834,8 +834,8 @@
my $t = getTag($tag);
for my $pkg (@{$t->{pkgs}})
{
- $db->{pkgs}{$pkg} =
- [ grep { $_->{name} ne $tag } @{$db->{pkgs}{$pkg}} ];
+ $db->{pkgs}{$pkg}{tags} =
+ [ grep { $_->{name} ne $tag } @{$db->{pkgs}{$pkg}{tags}} ];
}
delete $db->{tags}{$tag};
delete $tags{$tag};
More information about the Debtags-commits
mailing list