diff src/server/server.py @ 921:cf527974a0fa

both: renamed psDeleteNode to psNodeDelete to follow backend change
author Goffi <goffi@goffi.org>
date Mon, 03 Apr 2017 00:53:09 +0200
parents 8cea8bf41b03
children 16d1084d1371
line wrap: on
line diff
--- a/src/server/server.py	Wed Mar 29 19:46:27 2017 +0200
+++ b/src/server/server.py	Mon Apr 03 00:53:09 2017 +0200
@@ -422,14 +422,14 @@
 
     ## PubSub ##
 
-    def jsonrpc_psDeleteNode(self, service, node):
+    def jsonrpc_psNodeDelete(self, service, node):
         """Delete a whole node
 
         @param service (unicode): service jid
         @param node (unicode): node to delete
         """
         profile = session_iface.ISATSession(self.session).profile
-        return self.asyncBridgeCall("psDeleteNode", service, node, profile)
+        return self.asyncBridgeCall("psNodeDelete", service, node, profile)
 
     # def jsonrpc_psRetractItem(self, service, node, item, notify):
     #     """Delete a whole node