diff options
| author | Mark Wells <mark@freeside.biz> | 2015-07-10 16:38:28 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-07-10 16:38:28 -0700 |
| commit | 0ed195595b5c7ea404c8848d9d1881ada4214489 (patch) | |
| tree | 6d6f3fe6e980cd123ff7a648d27fb9eb6b16ab13 /rt/lib/RT/ObjectTopics.pm | |
| parent | af05c3dda381122e0a45f72dbc0b4e9492f13fe7 (diff) | |
| parent | df4a68099abfa067014f36f92874fccefdea662e (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/lib/RT/ObjectTopics.pm')
| -rw-r--r-- | rt/lib/RT/ObjectTopics.pm | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/rt/lib/RT/ObjectTopics.pm b/rt/lib/RT/ObjectTopics.pm index c49db16c0..072a0eb69 100644 --- a/rt/lib/RT/ObjectTopics.pm +++ b/rt/lib/RT/ObjectTopics.pm @@ -69,8 +69,8 @@ sub LimitToTopic { my $self = shift; my $cf = shift; return ($self->Limit( FIELD => 'Topic', - VALUE => $cf, - OPERATOR => '=')); + VALUE => $cf, + OPERATOR => '=')); } @@ -90,7 +90,7 @@ sub LimitToObject { my $object = shift; $self->Limit( FIELD => 'ObjectType', - VALUE => ref($object)); + VALUE => ref($object)); $self->Limit( FIELD => 'ObjectId', VALUE => $object->Id); @@ -98,18 +98,6 @@ sub LimitToObject { # }}} -=head2 NewItem - -Returns an empty new RT::ObjectTopic item - -=cut - -sub NewItem { - my $self = shift; - return(RT::ObjectTopic->new($self->CurrentUser)); -} - - RT::Base->_ImportOverlays(); 1; |
