projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
lib
/
RT
/
Queues.pm
diff --git
a/rt/lib/RT/Queues.pm
b/rt/lib/RT/Queues.pm
index
feb3491
..
f2b98ab
100755
(executable)
--- a/
rt/lib/RT/Queues.pm
+++ b/
rt/lib/RT/Queues.pm
@@
-2,7
+2,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-69,11
+69,10
@@
package RT::Queues;
use strict;
use warnings;
use strict;
use warnings;
+use base 'RT::SearchBuilder';
use RT::Queue;
use RT::Queue;
-use base 'RT::SearchBuilder';
-
sub Table { 'Queues'}
# {{{ sub _Init
sub Table { 'Queues'}
# {{{ sub _Init
@@
-83,8
+82,8
@@
sub _Init {
# By default, order by name
$self->OrderBy( ALIAS => 'main',
# By default, order by name
$self->OrderBy( ALIAS => 'main',
- FIELD => 'Name',
- ORDER => 'ASC');
+
FIELD => 'Name',
+
ORDER => 'ASC');
return ($self->SUPER::_Init(@_));
}
return ($self->SUPER::_Init(@_));
}
@@
-92,7
+91,7
@@
sub _Init {
sub Limit {
my $self = shift;
my %args = ( ENTRYAGGREGATOR => 'AND',
sub Limit {
my $self = shift;
my %args = ( ENTRYAGGREGATOR => 'AND',
- @_);
+
@_);
$self->SUPER::Limit(%args);
}
$self->SUPER::Limit(%args);
}
@@
-113,19
+112,6
@@
sub AddRecord {
$self->{'rows'}++;
}
$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;
RT::Base->_ImportOverlays();
1;