Removed .typeclass and .dbobj references in codebase.

This commit is contained in:
Griatch 2015-01-02 20:48:34 +01:00
parent 1130dc5757
commit 70da53569d
23 changed files with 60 additions and 127 deletions

View file

@ -300,7 +300,7 @@ class ChannelDBManager(TypedObjectManager):
"""
Return all channels a given player is subscribed to
"""
return player.dbobj.subscription_set.all()
return player.__dbclass__.subscription_set.all()
@returns_typeclass_list
def channel_search(self, ostring, exact=True):