app/soc/models/host.py
changeset 410 2af7f84f4fc7
parent 404 44223e50e1fc
child 575 ba4a7e90139d
--- a/app/soc/models/host.py	Thu Oct 23 05:21:26 2008 +0000
+++ b/app/soc/models/host.py	Thu Oct 23 05:21:41 2008 +0000
@@ -32,19 +32,8 @@
   """Host details for a specific Program.
   """
 
-  KEY_FIELDS = ['sponsor_ln', 'user_ln']
-
   #: A 1:1 relationship associating a Host with specific
   #: Sponsor details and capabilities. The back-reference in
   #: the Sponsor model is a Query named 'host'.  
   sponsor = db.ReferenceProperty(reference_class=soc.models.sponsor.Sponsor,
                                  required=True, collection_name='hosts')
-
-  def _get_link_name(self):
-    return self.sponsor.link_name
-
-  def _set_link_name(self, value):
-    self.sponsor.link_name = value
-
-  sponsor_ln = property(_get_link_name, _set_link_name)
-