diff options
Diffstat (limited to 'mediagoblin/user_pages/lib.py')
-rw-r--r-- | mediagoblin/user_pages/lib.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mediagoblin/user_pages/lib.py b/mediagoblin/user_pages/lib.py index 80eb30bd..e5c8defc 100644 --- a/mediagoblin/user_pages/lib.py +++ b/mediagoblin/user_pages/lib.py @@ -71,8 +71,6 @@ def add_media_to_collection(collection, media, note=None, commit=True): collection.items = collection.items + 1 Session.add(collection) - - media.collected = media.collected + 1 Session.add(media) if commit: |