storagebackends takes ids on delete

master
Lucio Lelii 3 years ago
parent aeb434dd06
commit 8929ff579c

@ -64,10 +64,10 @@ public class GCubeStorageBackend implements StorageBackend {
}
@Override
public void onDelete(Content content) {
public void onDelete(String id) {
log.debug("deleting");
IClient storageClient = getStorageClient(AuthorizationProvider.instance.get().getClient().getId()).getClient();
storageClient.remove().RFileById(content.getStorageId());
storageClient.remove().RFileById(id);
}
private static StorageClient getStorageClient(String login){

Loading…
Cancel
Save