<?php
/*
 * $Horde: imp/lib/Maintenance/imp.php,v 1.12 2003/07/17 19:58:38 slusarz Exp $
 *
 * Copyright 2001-2003 Michael Slusarz <slusarz@bigworm.colorado.edu>
 *
 * See the enclosed file COPYING for license information (GPL). If you
 * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
 */

include_once HORDE_BASE . '/lib/Maintenance.php';
include_once $GLOBALS['registry']->getParam('fileroot', 'imp') . '/lib/base.php';

/**
* The Maintenance_IMP class defines the maintenance operations run upon
* login to IMP.
*
* See the enclosed file COPYING for license information (GPL).  If you
* did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
*
* @author  Michael Slusarz <slusarz@bigworm.colorado.edu>
* @version $Revision: 1.12 $
* @since   IMP 3.0
* @package horde.maintenance
*/
class Maintenance_IMP extends Maintenance {

    /**
     * Hash holding maintenance preference names.
     *
     * @var array $maint_tasks
     */
    var $maint_tasks = array(
        'tos_agreement'           => MAINTENANCE_FIRST_LOGIN,
        'fetchmail_login'         => MAINTENANCE_EVERY,
        'rename_sentmail_monthly' => MAINTENANCE_MONTHLY,
        'delete_sentmail_monthly' => MAINTENANCE_MONTHLY,
        'purge_trash'             => MAINTENANCE_MONTHLY
    );

}
