summaryrefslogtreecommitdiff
path: root/devel/rt3
diff options
context:
space:
mode:
authorcube <cube>2007-08-09 20:57:18 +0000
committercube <cube>2007-08-09 20:57:18 +0000
commitf59b473afdd70d57f1033621bb1b612d9bc90b55 (patch)
tree79f5d00bba8eff1e85a3ade93fa2b34a417d81dd /devel/rt3
parent4fe2a1eefdc98680b148fefd69a982c941aaeffc (diff)
downloadpkgsrc-f59b473afdd70d57f1033621bb1b612d9bc90b55.tar.gz
Reap undead patches.
Diffstat (limited to 'devel/rt3')
-rw-r--r--devel/rt3/patches/patch-ad34
-rw-r--r--devel/rt3/patches/patch-ae13
-rw-r--r--devel/rt3/patches/patch-af30
3 files changed, 0 insertions, 77 deletions
diff --git a/devel/rt3/patches/patch-ad b/devel/rt3/patches/patch-ad
deleted file mode 100644
index fb7a7c309e1..00000000000
--- a/devel/rt3/patches/patch-ad
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2006/06/03 10:40:34 seb Exp $
-
---- lib/RT/Ticket_Overlay.pm.orig 2005-11-14 20:43:24.000000000 +0000
-+++ lib/RT/Ticket_Overlay.pm
-@@ -3018,20 +3018,21 @@ sub SetOwner {
-
- $RT::Handle->Commit();
-
-- my ( $trans, $msg, undef ) = $self->_NewTransaction(
-- Type => $Type,
-- Field => 'Owner',
-- NewValue => $NewOwnerObj->Id,
-- OldValue => $OldOwnerObj->Id,
-- TimeTaken => 0 );
-+ ( $val, $msg ) = $self->_NewTransaction(
-+ Type => $Type,
-+ Field => 'Owner',
-+ NewValue => $NewOwnerObj->Id,
-+ OldValue => $OldOwnerObj->Id,
-+ TimeTaken => 0,
-+ );
-
-- if ($trans) {
-+ if ($val) {
- $msg = $self->loc( "Owner changed from [_1] to [_2]",
- $OldOwnerObj->Name, $NewOwnerObj->Name );
-
- # TODO: make sure the trans committed properly
- }
-- return ( $trans, $msg );
-+ return ( $val, $msg );
-
- }
-
diff --git a/devel/rt3/patches/patch-ae b/devel/rt3/patches/patch-ae
deleted file mode 100644
index 9cb36385aa4..00000000000
--- a/devel/rt3/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2006/06/03 10:40:34 seb Exp $
-
---- lib/RT/Tickets_Overlay.pm.orig 2005-12-13 18:58:20.000000000 +0000
-+++ lib/RT/Tickets_Overlay.pm
-@@ -918,7 +918,7 @@ sub _WatcherJoin {
- # RT doesn't allow to add groups as members of the
- # ticket roles, so we just hide entries in CGM table
- # with MemberId == GroupId from results
-- my $groupmembers = $self->SUPER::Limit(
-+ $self->SUPER::Limit(
- LEFTJOIN => $groupmembers,
- FIELD => 'GroupId',
- OPERATOR => '!=',
diff --git a/devel/rt3/patches/patch-af b/devel/rt3/patches/patch-af
deleted file mode 100644
index 571fb276185..00000000000
--- a/devel/rt3/patches/patch-af
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-af,v 1.1 2006/06/03 10:40:34 seb Exp $
-
---- lib/RT/CustomField_Overlay.pm.orig 2005-09-22 19:09:22.000000000 +0000
-+++ lib/RT/CustomField_Overlay.pm
-@@ -876,10 +876,10 @@ sub AddToObject {
- if ( $ObjectCF->Id ) {
- return ( 0, $self->loc("That is already the current value") );
- }
-- my ( $id, $msg ) =
-+ my ( $oid, $msg ) =
- $ObjectCF->Create( ObjectId => $id, CustomField => $self->Id );
-
-- return ( $id, $msg );
-+ return ( $oid, $msg );
- }
-
-
-@@ -911,9 +911,10 @@ sub RemoveFromObject {
- unless ( $ObjectCF->Id ) {
- return ( 0, $self->loc("This custom field does not apply to that object") );
- }
-- my ( $id, $msg ) = $ObjectCF->Delete;
-+ # XXX: Delete doesn't return anything
-+ my ( $oid, $msg ) = $ObjectCF->Delete;
-
-- return ( $id, $msg );
-+ return ( $oid, $msg );
- }
-
- # {{{ AddValueForObject