
Hallo, # -- # Kernel/Config/GenericAgent.pm - config file of generic agent # Copyright (C) 2002-2004 Martin Edenhofer <martin+code at otrs.org> # # Updated 19 March 2004 by L. Mark Stone. # Routine deletes tickets with a blank space in the Subject: line. # # -- # $Id: GenericAgent.pm.dist,v 1.7 2004/02/12 00:55:01 martin Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see http://www.gnu.org/licenses/gpl.txt. # -- package Kernel::Config::GenericAgentDelete; use strict; use vars qw($VERSION @ISA @EXPORT %Jobs); require Exporter; @ISA = qw(Exporter); @EXPORT = qw(%Jobs); $VERSION = '$Revision: 1.7 $'; $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/; # ----------------------------------------------------------------------- # config options # ----------------------------------------------------------------------- %Jobs = ( # -- # Delete -> Delete All Tickets in Junk Queue # -- 'delete' => { Queue => 'Junk', Subject => '% %', New => { Delete => 1, }, }, ); # ----------------------------------------------------------------------- # end of config options # -----------------------------------------------------------------------