Remove the deprecated .characters property from Player model, it was a leftover from another time (there is no such hard-coded relation; use sessions instead). Closes #1233."

This commit is contained in:
Griatch 2017-02-27 22:39:14 +01:00
parent 4424734867
commit 657b3585f8

View file

@ -104,17 +104,6 @@ class PlayerDB(TypedObject, AbstractUser):
class Meta(object):
verbose_name = 'Player'
# alias to the objs property
def __characters_get(self):
return self.objs
def __characters_set(self, value):
self.objs = value
def __characters_del(self):
raise Exception("Cannot delete name")
characters = property(__characters_get, __characters_set, __characters_del)
# cmdset_storage property
# This seems very sensitive to caching, so leaving it be for now /Griatch
#@property