rtUnifiedreminder on 3.6

Has anyone attempted to get this script:
http://wiki.bestpractical.com/view/rtUnifiedreminder

Working on RT 3.6? It fails because it can’t find the Config Class Method, and I’m wondering whether to bother trying to hack it to make it work, or whether I should give up now.

David X. Glover
Department of Physics
University of Oxford
http://www.physics.ox.ac.uk/

I did not go through the entire code, however, one thing that I
noticed to be incorrect is the line which says “package RT” shown below:

Pull in the RT stuff

package RT;
use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent
loc);
…that line needs to be changed to:
use RT;

-BehzadOn Dec 4, 2009, at 5:38 AM, David X. Glover wrote:

Has anyone attempted to get this script:
http://wiki.bestpractical.com/view/rtUnifiedreminder

Working on RT 3.6? It fails because it can’t find the Config Class
Method, and I’m wondering whether to bother trying to hack it to
make it work, or whether I should give up now.


David X. Glover
Department of Physics
University of Oxford
http://www.physics.ox.ac.uk/


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Has anyone attempted to get this script:
http://wiki.bestpractical.com/view/rtUnifiedreminder

Working on RT 3.6? It fails because it can’t find the Config Class
Method, and I’m wondering whether to bother trying to hack it to
make it work, or whether I should give up now.

RT->Config->Get(‘foo’) is the 3.8 syntax for retrieving config vars.
In theory, you can go swap those to $RT::foo and be fine

-kevin

Working on RT 3.6? It fails because it can’t find the Config Class Method

I posted that script on the wiki and can vouch that it works on 3.8.4.
I wouldn’t know what has to change to make work on 3.6. Probably just
some of the boilerplate lines of code.

Allen