Delete any rest of old public share/unshare flow
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / dialog / SharePasswordDialogFragment.java
index 9fbdbc4..fb6cce8 100644 (file)
@@ -117,9 +117,6 @@ public class SharePasswordDialogFragment extends DialogFragment
                 ((FileActivity) getActivity()).getFileOperationsHelper().
                         setPasswordToShareViaLink(mFile, password);
 
-            } else {    // TODO remove old flow
-                ((FileActivity) getActivity()).getFileOperationsHelper()
-                        .shareFileWithLinkToApp(mFile, password, mSendIntent);
             }
 
         } else {