changeset 435:e63fc04efef7

server_side: remove unused method _postAccountCreation
author souliane <souliane@mailoo.org>
date Tue, 06 May 2014 18:06:38 +0200
parents d64b415c58ca
children 73f767a9ac2f
files libervia_server/__init__.py
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libervia_server/__init__.py	Thu May 01 11:34:36 2014 +0200
+++ b/libervia_server/__init__.py	Tue May 06 18:06:38 2014 +0200
@@ -641,16 +641,6 @@
 
         return server.NOT_DONE_YET
 
-    def _postAccountCreation(self, answer_type, id, data, profile):
-        """Called when a account has just been created,
-        setup stuff has microblog access"""
-        def _connected(ignore):
-            mblog_d = self.asyncBridgeCall("setMicroblogAccess", "open", profile)
-            mblog_d.addBoth(lambda ignore: self.sat_host.bridge.disconnect(profile))
-
-        d = self.asyncBridgeCall("asyncConnect", profile)
-        d.addCallback(_connected)
-
     def _registerNewAccount(self, request):
         """Create a new account, or return error
         @param request: initial login request