mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #4263 from nextcloud/removeDocument
remove document (with relation to parent)
This commit is contained in:
commit
e4fb5b0a78
1 changed files with 5 additions and 0 deletions
|
@ -528,6 +528,11 @@ public class DocumentsStorageProvider extends DocumentsProvider {
|
||||||
return String.valueOf(newFile.getFileId());
|
return String.valueOf(newFile.getFileId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void removeDocument(String documentId, String parentDocumentId) throws FileNotFoundException {
|
||||||
|
deleteDocument(documentId);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteDocument(String documentId) throws FileNotFoundException {
|
public void deleteDocument(String documentId) throws FileNotFoundException {
|
||||||
long docId = Long.parseLong(documentId);
|
long docId = Long.parseLong(documentId);
|
||||||
|
|
Loading…
Reference in a new issue