Cleanup Imap FetchType

This commit is contained in:
djmaze 2022-01-07 15:21:06 +01:00
parent 8631e48e05
commit 1be93d7288
2 changed files with 0 additions and 7 deletions

View file

@ -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;

View file

@ -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]';