You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2025/11/05 19:07:50 UTC

(allura) branch master updated: remove some unused fields

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new ae9a283d7 remove some unused fields
ae9a283d7 is described below

commit ae9a283d75c54660239e4737bf6b57fe359aac82
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Wed Nov 5 14:07:40 2025 -0500

    remove some unused fields
---
 Allura/allura/model/discuss.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Allura/allura/model/discuss.py b/Allura/allura/model/discuss.py
index 8fd99cfc7..6c31a8abc 100644
--- a/Allura/allura/model/discuss.py
+++ b/Allura/allura/model/discuss.py
@@ -67,7 +67,6 @@ class __mongometa__:
     description_cache = FieldProperty(MarkdownCache)
     num_topics = FieldProperty(int, if_missing=0)
     num_posts = FieldProperty(int, if_missing=0)
-    subscriptions = FieldProperty({str: bool})
 
     threads = RelationProperty('Thread', via='discussion_id')
     posts = RelationProperty('Post', via='discussion_id')
@@ -177,7 +176,6 @@ class __mongometa__:
     subject = FieldProperty(str, if_missing='')
     num_replies = FieldProperty(int, if_missing=0)
     num_views = FieldProperty(int, if_missing=0)
-    subscriptions = FieldProperty({str: bool})
     first_post_id = ForeignIdProperty('Post')
     last_post_date = FieldProperty(datetime, if_missing=datetime(1970, 1, 1))
     artifact_reference = FieldProperty(schema.Deprecated)