+ OwnCloudClient client = null;
+ try {
+ client = ((MainApp)getApplicationContext()).
+ getOwnCloudClientManager().removeClientFor(
+ getAccount(),
+ context);
+ // TODO get rid of these exceptions
+ } catch (AccountNotFoundException e) {
+ e.printStackTrace();
+ } catch (AuthenticatorException e) {
+ e.printStackTrace();
+ } catch (OperationCanceledException e) {
+ e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+