Skip to content
Snippets Groups Projects
Commit a9a15f55 authored by Florent Aide's avatar Florent Aide
Browse files

Implemented unlink mode

parent d0309540
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,18 @@
[item_id],
item
))
elif mode == 'unlink':
item_id = item.pop('id')
yield (True, self.sock.execute(
self.oedb,
self.uid,
self.oepass,
self.builder.itemtype,
mode,
[item_id],
))
else:
raise NotImplementedError(
_('The method %s is not yet supported.') % self.mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment