app/soc/logic/models/base.py
changeset 1512 97c4a718d6f4
parent 1510 bc6dc3bb8d2a
child 1513 13efb916a73c
--- a/app/soc/logic/models/base.py	Thu Feb 26 16:48:02 2009 +0000
+++ b/app/soc/logic/models/base.py	Thu Feb 26 16:49:06 2009 +0000
@@ -402,15 +402,6 @@
       
     return entity
 
-  def updateOrCreateFromFields(self, properties, key_fields):
-    """Like updateOrCreateFromKeyName, but resolves fields to a key_name first.
-    """
-
-    # attempt to retrieve the existing entity
-    key_name  = self.getKeyNameFromFields(key_fields)
-
-    return self.updateOrCreateFromKeyName(properties, key_name)
-
   def isDeletable(self, entity):
     """Returns whether the specified entity can be deleted.