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

45 lines
991 B
PHP

<?php
/**
* Copyright 2013-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 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/gpl GPL
* @package IMP
*/
/**
* Implementation of the account object for an INBOX-only server.
*
* @author Michael Slusarz <slusarz@horde.org>
* @category Horde
* @copyright 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/gpl GPL
* @package IMP
*/
class IMP_Ftree_Account_Inboxonly extends IMP_Ftree_Account
{
/**
*/
public function getList($query = array(), $mask = 0)
{
return array(
array(
'a' => IMP_Ftree::ELT_IS_SUBSCRIBED,
'v' => 'INBOX'
)
);
}
/**
*/
public function delete(IMP_Ftree_Element $elt)
{
return 0;
}
}