Skip to content

Commit

Permalink
removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapolas K committed May 23, 2014
1 parent 6299f99 commit a68855d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ploneintranet/workspace/browser/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,7 @@ class TransferMembershipForm(form.SchemaForm):

@button.buttonAndHandler(u"Ok")
def handleApply(self, action):
data, errors = self.extractData()
if errors:
self.status = self.formErrorsMessage
return
data = self.extractData()[0]

ws = IWorkspace(self.context)
other_ws_id = data.get("workspace")
Expand Down

0 comments on commit a68855d

Please sign in to comment.