(js) Remove obsolete call to "catch"

pull/186/head
Francis Lachapelle 2015-12-21 21:19:19 -05:00
parent 1c0cd2bc28
commit 1e45606681
1 changed files with 1 additions and 3 deletions

View File

@ -52,9 +52,7 @@
}
function removeUser(user) {
folder.$acl.$removeUser(user.uid).catch(function(data, status) {
Dialog.alert(l('Warning'), l('An error occured please try again.'));
});
folder.$acl.$removeUser(user.uid);
}
function addUser(data) {