[Rt-commit] r14035 - in rt/branches/3.999-DANGEROUS: lib/RT lib/RT/Model
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sat Jul 12 11:57:42 EDT 2008
Author: sunnavy
Date: Sat Jul 12 11:57:40 2008
New Revision: 14035
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Model/GroupMember.pm
rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
Log:
r14326 at sunnavys-mb: sunnavy | 2008-07-12 01:29:21 +0800
cleaned up
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/GroupMember.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/GroupMember.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/GroupMember.pm Sat Jul 12 11:57:40 2008
@@ -177,14 +177,6 @@
my $cgm = RT::Model::CachedGroupMemberCollection->new;
#When adding a member to a group, we need to go back
- $cgm->limit(
- subclause => 'filter', # dont't mess up with prev condition
- column => 'member_id',
- operator => '!=',
- value => 'main.group_id',
- quote_value => 0,
- entry_aggregator => 'AND',
- );
# find things which have the current group as a member.
# $group is an RT::Model::Principal for the group.
$cgm->limit_to_groups_with_member( $args{'group'}->id );
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Record.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Record.pm Sat Jul 12 11:57:40 2008
@@ -1165,9 +1165,6 @@
);
my $typetext = $self->formatType( type => $args{type} );
- my $TransString = "Record $args{'base'} $args{'type'} record $args{'target'}.";
-
- return ( $linkid, _( "Link Created (%1)", $TransString ) );
}
# }}}
More information about the Rt-commit
mailing list