summaryrefslogtreecommitdiffstats
path: root/tools/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'tools/upgrade')
-rwxr-xr-xtools/upgrade/1.3/migrate_dbstats.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/upgrade/1.3/migrate_dbstats.py b/tools/upgrade/1.3/migrate_dbstats.py
index c17328d19..15bd328f9 100755
--- a/tools/upgrade/1.3/migrate_dbstats.py
+++ b/tools/upgrade/1.3/migrate_dbstats.py
@@ -81,12 +81,6 @@ def _migrate_transaction(inter, entries, fperms):
else:
groups = []
bundles = []
- unkown_profile = cache.get("PROFILE_UNKNOWN")
- if not unkown_profile:
- unkown_profile, created = new_models.Group.objects.get_or_create(name="Unknown")
- cache.set("PROFILE_UNKNOWN", unkown_profile, 60 * 60)
- newint.profile = unkown_profile
- groups = [unkown_profile]
super(new_models.Interaction, newint).save()
if bundles:
newint.bundles.add(*bundles)