Files
server/usr/share/psa-horde/imp/lib/Sentmail/Null.php
2026-01-07 20:52:11 +01:00

52 lines
1.0 KiB
PHP

<?php
/**
* Copyright 2010-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.horde.org/licenses/gpl.
*
* @category Horde
* @copyright 2010-2017 Horde LLC
* @license http://www.horde.org/licenses/gpl GPL
* @package IMP
*/
/**
* A null implementation of the sentmail driver.
*
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @copyright 2010-2017 Horde LLC
* @license http://www.horde.org/licenses/gpl GPL
* @package IMP
*/
class IMP_Sentmail_Null extends IMP_Sentmail
{
/**
*/
protected function _log($action, $message_id, $recipient, $success)
{
}
/**
*/
public function favouriteRecipients($limit, $filter = null)
{
return array();
}
/**
*/
public function numberOfRecipients($hours, $user = false)
{
return 0;
}
/**
*/
protected function _deleteOldEntries($before)
{
}
}