Skip to content

Commit

Permalink
Remove bans cache versioning from old cache versioning feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Dec 1, 2018
1 parent cdea0c5 commit e44ca3f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions misago/users/migrations/0003_bans_version_tracker.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
from django.db import migrations


def register_bans_version_tracker(apps, schema_editor):
from misago.core.migrationutils import cachebuster_register_cache
cachebuster_register_cache(apps, "misago_bans")


class Migration(migrations.Migration):
"""Migration superseded by 0016"""

Expand All @@ -14,7 +9,4 @@ class Migration(migrations.Migration):
('misago_core', '0001_initial'),
]

operations = [
# FIXME: remove this operation
migrations.RunPython(register_bans_version_tracker),
]
operations = []

0 comments on commit e44ca3f

Please sign in to comment.