summaryrefslogtreecommitdiff
path: root/rt/lib/RT/System.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-07 14:19:28 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-07 14:19:28 -0700
commit345d50ec6b65ace29bfaf4a7373d1dbec1d72831 (patch)
tree0ac2d007d6fb964f58067927fab65b030fc2a8f0 /rt/lib/RT/System.pm
parentdcee8de27a0ec133374c5bf950af9dad89cde26d (diff)
eliminate some noisy warnings so we can see anything important
Diffstat (limited to 'rt/lib/RT/System.pm')
-rw-r--r--rt/lib/RT/System.pm22
1 files changed, 0 insertions, 22 deletions
diff --git a/rt/lib/RT/System.pm b/rt/lib/RT/System.pm
index d0dc50131..d9aaf1cad 100644
--- a/rt/lib/RT/System.pm
+++ b/rt/lib/RT/System.pm
@@ -261,28 +261,6 @@ sub QueueCacheNeedsUpdate {
}
}
-=head2 QueueCacheNeedsUpdate ( 1 )
-
-Attribute to decide when SelectQueue needs to flush the list of queues
- and retrieve new ones. Set when queues are created, enabled/disabled
- and on certain acl changes. Should also better understand group management.
-
-If passed a true value, will update the attribute to be the current time.
-
-=cut
-
-sub QueueCacheNeedsUpdate {
- my $self = shift;
- my $update = shift;
-
- if ($update) {
- return $self->SetAttribute(Name => 'QueueCacheNeedsUpdate', Content => time);
- } else {
- my $cache = $self->FirstAttribute('QueueCacheNeedsUpdate');
- return (defined $cache ? $cache->Content : 0 );
- }
-}
-
RT::Base->_ImportOverlays();
1;