[rt-users] relogin necessary after changing/creating queue
Benjamin Weser
weser at osp-dd.de
Fri Aug 3 12:01:39 EDT 2007
I added the code into local/html/Elements/SelectQueue right at top of
the init-Block. This works fine for me now and I don't think that it
will cost too much performance. After all it's just a bloody web app and
not a realtime animation or so. ;) Thanks for the two lines Dirk.
Cheers,
Ben
Gene LeDuc wrote:
> Maybe put your code in the page that displays the queues and have it
> run every $Clear_Queue_Cache_Freq minutes, with that value set in
> RT_SiteConfig?
>
> At 05:15 AM 8/3/2007, Dirk Pape wrote:
>> Hello,
>>
>> --Am 2. August 2007 13:35:11 +0200 schrieb Benjamin Weser
>> <weser at osp-dd.de>:
>>
>>> I had a look at the code in /Elements/SelectQueue but since I haven't
>>> done anything in perl (yet) I didn't get very much out of it. Tried to
>>> uncomment here and there and changed the values of the variables but
>>> nothing provided the solution I am looking for. :(
>>
>> the code you have to be performed is the following:
>>
>> delete $session{'create_in_queues'};
>> delete $session{'quick_search_queues'};
>>
>> This is emptying the cache of queues which is stored in the $session
>> object. But you have to decide where you want to perform it. Maybe
>> you place a button somewhere?
>>
>> Regards, Dirk.
>>
>> --
>> Dr. Dirk Pape (eAS - Projektleitung Campus Management)
>> Freie Universitaet Berlin
>> Grunewaldstr. 34a, 12165 Berlin
>> Tel. +49 (30) 838 75143, Fax. +49 (30) 838 54654
>>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>
>
More information about the rt-users
mailing list