mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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
|
// Already defined by default
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FetchType::FULL:
|
|
||||||
$aFetchItems[] = FetchType::BODY;
|
|
||||||
// Falls through
|
|
||||||
case FetchType::ALL:
|
case FetchType::ALL:
|
||||||
$aFetchItems[] = FetchType::ENVELOPE;
|
$aFetchItems[] = FetchType::ENVELOPE;
|
||||||
// Falls through
|
|
||||||
case FetchType::FAST:
|
|
||||||
$aFetchItems[] = FetchType::FLAGS;
|
$aFetchItems[] = FetchType::FLAGS;
|
||||||
$aFetchItems[] = FetchType::INTERNALDATE;
|
$aFetchItems[] = FetchType::INTERNALDATE;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,6 @@ namespace MailSo\Imap\Enumerations;
|
||||||
abstract class FetchType
|
abstract class FetchType
|
||||||
{
|
{
|
||||||
const ALL = 'ALL';
|
const ALL = 'ALL';
|
||||||
const FAST = 'FAST';
|
|
||||||
const FULL = 'FULL';
|
|
||||||
const BODY = 'BODY';
|
const BODY = 'BODY';
|
||||||
const BODY_PEEK = 'BODY.PEEK';
|
const BODY_PEEK = 'BODY.PEEK';
|
||||||
const BODY_HEADER = 'BODY[HEADER]';
|
const BODY_HEADER = 'BODY[HEADER]';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue