#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
use strict;
use warnings;
+use base 'RT::SearchBuilder';
use RT::Queue;
-use base 'RT::SearchBuilder';
-
sub Table { 'Queues'}
# {{{ sub _Init
# By default, order by name
$self->OrderBy( ALIAS => 'main',
- FIELD => 'Name',
- ORDER => 'ASC');
+ FIELD => 'Name',
+ ORDER => 'ASC');
return ($self->SUPER::_Init(@_));
}
sub Limit {
my $self = shift;
my %args = ( ENTRYAGGREGATOR => 'AND',
- @_);
+ @_);
$self->SUPER::Limit(%args);
}
$self->{'rows'}++;
}
-
-
-
-=head2 NewItem
-
-Returns an empty new RT::Queue item
-
-=cut
-
-sub NewItem {
- my $self = shift;
- return(RT::Queue->new($self->CurrentUser));
-}
RT::Base->_ImportOverlays();
1;