[Rt-commit] [svn] r1211 - rt/branches/rt-3.1/lib/RT/Interface
huberth at pallas.eruditorum.org
huberth at pallas.eruditorum.org
Mon Jul 12 18:05:39 EDT 2004
Author: huberth
Date: Mon Jul 12 18:05:38 2004
New Revision: 1211
Modified:
rt/branches/rt-3.1/lib/RT/Interface/Web.pm
Log:
* Updated RT::Interface::Web to make bulk removals of watchers work.
Modified: rt/branches/rt-3.1/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Interface/Web.pm (original)
+++ rt/branches/rt-3.1/lib/RT/Interface/Web.pm Mon Jul 12 18:05:38 2004
@@ -1241,8 +1241,8 @@
}
# Delete watchers in the simple style demanded by the bulk manipulator
- elsif ( $key =~ /^Delete(Requestor|Cc|AdminCc)$/ ) {
- my ( $code, $msg ) = $Ticket->DeleteWatcher( Type => $ARGSRef->{$key}, PrincipalId => $1 );
+ elsif ( $key =~ /^Delete(Requestor|Cc|AdminCc)$/ ) {
+ my ( $code, $msg ) = $Ticket->DeleteWatcher( Email => $ARGSRef->{$key}, Type => $1 );
push @results, $msg;
}
More information about the Rt-commit
mailing list