Browse Source

#675: removed deprecated apis from readtracker

Rafał Pitoń 7 years ago
parent
commit
0aad470968
2 changed files with 0 additions and 27 deletions
  1. 0 16
      misago/readtracker/categoriestracker.py
  2. 0 11
      misago/readtracker/threadstracker.py

+ 0 - 16
misago/readtracker/categoriestracker.py

@@ -44,19 +44,3 @@ def make_read(threads):
     for thread in threads:
     for thread in threads:
         thread.is_read = True
         thread.is_read = True
         thread.is_new = False
         thread.is_new = False
-
-
-# Deprecated stuff goes here
-def start_record(user, category):
-    from misago.core import deprecations
-    deprecations.warn("categoriestracker.start_record has been deprecated")
-
-
-def sync_record(user, category):
-    from misago.core import deprecations
-    deprecations.warn("categoriestracker.sync_record has been deprecated")
-
-
-def read_category(user, category):
-    from misago.core import deprecations
-    deprecations.warn("categoriestracker.read_category has been deprecated")

+ 0 - 11
misago/readtracker/threadstracker.py

@@ -42,14 +42,3 @@ def make_read(threads):
     for thread in threads:
     for thread in threads:
         thread.is_read = True
         thread.is_read = True
         thread.is_new = False
         thread.is_new = False
-
-
-# Noop placeholders for exploding tests suite
-def make_posts_read_aware(*args, **kwargs):
-    from misago.core import deprecations
-    deprecations.warn("threadstracker.make_posts_read_aware has been deprecated")
-
-
-def read_thread(*args, **kwargs):
-    from misago.core import deprecations
-    deprecations.warn("threadstracker.read_thread has been deprecated")