Mercurial > libervia-web
comparison 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 |
comparison
equal
deleted
inserted
replaced
920:8cea8bf41b03 | 921:cf527974a0fa |
---|---|
420 profile = session_iface.ISATSession(self.session).profile | 420 profile = session_iface.ISATSession(self.session).profile |
421 return self.asyncBridgeCall("messageSend", to_jid, msg, subject, type_, extra, profile) | 421 return self.asyncBridgeCall("messageSend", to_jid, msg, subject, type_, extra, profile) |
422 | 422 |
423 ## PubSub ## | 423 ## PubSub ## |
424 | 424 |
425 def jsonrpc_psDeleteNode(self, service, node): | 425 def jsonrpc_psNodeDelete(self, service, node): |
426 """Delete a whole node | 426 """Delete a whole node |
427 | 427 |
428 @param service (unicode): service jid | 428 @param service (unicode): service jid |
429 @param node (unicode): node to delete | 429 @param node (unicode): node to delete |
430 """ | 430 """ |
431 profile = session_iface.ISATSession(self.session).profile | 431 profile = session_iface.ISATSession(self.session).profile |
432 return self.asyncBridgeCall("psDeleteNode", service, node, profile) | 432 return self.asyncBridgeCall("psNodeDelete", service, node, profile) |
433 | 433 |
434 # def jsonrpc_psRetractItem(self, service, node, item, notify): | 434 # def jsonrpc_psRetractItem(self, service, node, item, notify): |
435 # """Delete a whole node | 435 # """Delete a whole node |
436 | 436 |
437 # @param service (unicode): service jid | 437 # @param service (unicode): service jid |