mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-07 15:27:43 +08:00
Cleanup Imap FetchType
This commit is contained in:
parent
8631e48e05
commit
1be93d7288
2 changed files with 0 additions and 7 deletions
|
@ -56,13 +56,8 @@ trait Messages
|
|||
// Already defined by default
|
||||
break;
|
||||
|
||||
case FetchType::FULL:
|
||||
$aFetchItems[] = FetchType::BODY;
|
||||
// Falls through
|
||||
case FetchType::ALL:
|
||||
$aFetchItems[] = FetchType::ENVELOPE;
|
||||
// Falls through
|
||||
case FetchType::FAST:
|
||||
$aFetchItems[] = FetchType::FLAGS;
|
||||
$aFetchItems[] = FetchType::INTERNALDATE;
|
||||
break;
|
||||
|
|
|
@ -19,8 +19,6 @@ namespace MailSo\Imap\Enumerations;
|
|||
abstract class FetchType
|
||||
{
|
||||
const ALL = 'ALL';
|
||||
const FAST = 'FAST';
|
||||
const FULL = 'FULL';
|
||||
const BODY = 'BODY';
|
||||
const BODY_PEEK = 'BODY.PEEK';
|
||||
const BODY_HEADER = 'BODY[HEADER]';
|
||||
|
|
Loading…
Reference in a new issue