Remove deprecated arguments, methods, and classes

This commit is contained in:
Mads Marquart
2019-09-08 15:50:32 +02:00
parent 2e88bd49d4
commit c70a39c568
4 changed files with 3 additions and 103 deletions

View File

@@ -10,7 +10,6 @@ class ThreadType(Enum):
USER = 1
GROUP = 2
ROOM = 2
PAGE = 3
def _to_class(self):
@@ -20,7 +19,6 @@ class ThreadType(Enum):
return {
ThreadType.USER: _user.User,
ThreadType.GROUP: _group.Group,
ThreadType.ROOM: _group.Room,
ThreadType.PAGE: _page.Page,
}[self]