X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FSystem.pm;h=45622387879ea1e29fb9cff62ebf39626fbe7f65;hp=d0dc50131af33a6cf62084fc3acc428368df0219;hb=919e930aa9279b3c5cd12b593889cd6de79d67bf;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6 diff --git a/rt/lib/RT/System.pm b/rt/lib/RT/System.pm index d0dc50131..456223878 100644 --- a/rt/lib/RT/System.pm +++ b/rt/lib/RT/System.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -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;