}
- @Override
+
public void shareFileWithLink(OCFile file) {
CreateShareOperation createShare = new CreateShareOperation(file.getRemotePath(), ShareType.PUBLIC_LINK, "", false, "", 1);
- createShare.execute(getAccount(), this, this, mHandler, this);
+ createShare.execute(getStorageManager(), this, this, mHandler, this);
}