synapse/storage/state.py: _make_group_id was unused

This commit is contained in:
Mark Haines 2015-09-23 10:37:58 +01:00
parent 973ebb66ba
commit 1cd65a8d1e

View File

@ -20,8 +20,6 @@ from synapse.util.caches.descriptors import (
from twisted.internet import defer from twisted.internet import defer
from synapse.util.stringutils import random_string
import logging import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -428,7 +426,3 @@ class StateStore(SQLBaseStore):
} }
defer.returnValue(results) defer.returnValue(results)
def _make_group_id(clock):
return str(int(clock.time_msec())) + random_string(5)