--- 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.