folder: Gmail: remove dead code
The support for the realdelete configuration option was removed because this
could lead to data loss.
See 51728ed
to know more.
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
6079755b20
commit
a5d9edc560
@ -43,9 +43,6 @@ class GmailFolder(IMAPFolder):
|
||||
|
||||
def __init__(self, imapserver, name, repository):
|
||||
super(GmailFolder, self).__init__(imapserver, name, repository)
|
||||
self.trash_folder = repository.gettrashfolder(name)
|
||||
# Gmail will really delete messages upon EXPUNGE in these folders
|
||||
self.real_delete_folders = [self.trash_folder, repository.getspamfolder()]
|
||||
|
||||
# The header under which labels are stored
|
||||
self.labelsheader = self.repository.account.getconf('labelsheader', 'X-Keywords')
|
||||
|
Loading…
Reference in New Issue
Block a user