Permalink
Browse files

don't delete collections with no users

  • Loading branch information...
1 parent 7e7069a commit c9c5e2f7cc6702a04132d89d0ee02042b061b967 Jeff Balogh committed Feb 25, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 apps/bandwagon/cron.py
View
@@ -45,9 +45,7 @@ def migrate_collection_users():
% collection.id)
else:
- task_log.warning('No users for collection %s. DELETING' %
- collection.id)
- collection.delete()
+ task_log.warning('No users for collection %s.' % collection.id)
# TODO(davedash): We can just remove this from the model altogether.
CollectionUser.objects.all().update(role=amo.COLLECTION_ROLE_PUBLISHER)

0 comments on commit c9c5e2f

Please sign in to comment.