app/soc/modules/ghop/models/comment.py
changeset 2822 387a3b80df05
parent 2789 259ce59acaf7
child 3003 6a84c1ff5b5c
--- a/app/soc/modules/ghop/models/comment.py	Thu Aug 27 22:35:28 2009 +0530
+++ b/app/soc/modules/ghop/models/comment.py	Thu Aug 27 22:40:26 2009 +0530
@@ -51,22 +51,6 @@
                              choices=['valid','invalid'],
                              verbose_name=ugettext('Status of this Comment'))
 
-  #: Reference property to the task entity under which the comment
-  #: is scoped 
-  scope = db.ReferenceProperty(
-      reference_class=soc.modules.ghop.models.task.GHOPTask,
-      required=True, collection_name='comment_scopes',
-      verbose_name=ugettext('Comment Scope'))
-  scope.help_text = ugettext(
-      'Reference to the task entity under which this comment was posted.')
-
-  #: Hidden (not displayed to users or editable in forms) cache of the string
-  #: representation of the transitive closure of scopes, for use in URLs.
-  scope_path = db.StringProperty(required=False,
-                                 verbose_name=ugettext('Scope path'))
-  scope_path.help_text = ugettext(
-      'Cache of the string form of the entity scope.')
-
   #: A required many:1 relationship with a comment entity indicating
   #: the user who provided that comment.
   created_by = db.ReferenceProperty(reference_class=soc.models.user.User,