remove unused pushChanges

This commit is contained in:
j 2016-01-14 17:55:15 +05:30
commit 78e48e65bd
4 changed files with 0 additions and 37 deletions

View file

@ -283,16 +283,6 @@ class Node(Thread):
r = Changelog.apply_changes(u, changes)
return r
def pushChanges(self, changes):
logger.debug('pushing changes to %s %s', self.user_id, changes)
if self.online:
try:
r = self.request('pushChanges', changes)
except:
self.online = False
r = False
logger.debug('pushedChanges %s %s', r, self.user_id)
def peering(self, action):
with db.session():
u = user.models.User.get_or_create(self.user_id)