1: <?php
2: /**
3: * Copyright 2014 Horde LLC (http://www.horde.org/)
4: *
5: * See the enclosed file COPYING for license information (GPL). If you
6: * did not receive this file, see http://www.horde.org/licenses/gpl.
7: *
8: * @category Horde
9: * @copyright 2014 Horde LLC
10: * @license http://www.horde.org/licenses/gpl GPL
11: * @package IMP
12: */
13:
14: /**
15: * Null storage driver for the IMP_Maillog class.
16: *
17: * @author Michael Slusarz <slusarz@horde.org>
18: * @category Horde
19: * @copyright 2014 Horde LLC
20: * @license http://www.horde.org/licenses/gpl GPL
21: * @package IMP
22: */
23: class IMP_Maillog_Storage_Null extends IMP_Maillog_Storage_Base
24: {
25: /**
26: */
27: public function saveLog(
28: IMP_Maillog_Message $msg, IMP_Maillog_Log_Base $log
29: )
30: {
31: return false;
32: }
33:
34: /**
35: */
36: public function getLog(IMP_Maillog_Message $msg, array $filter = array())
37: {
38: return array();
39: }
40:
41: /**
42: */
43: public function deleteLogs(array $msgs)
44: {
45: }
46:
47: /**
48: */
49: public function getChanges($ts)
50: {
51: return array();
52: }
53:
54: }
55: