Skip to content

Commit

Permalink
Merge pull request #16832 from iterate-ch/bugfix/MD-22855
Browse files Browse the repository at this point in the history
Revert "Use custom home feature."
  • Loading branch information
dkocher authored Feb 3, 2025
2 parents 6d2291a + e848c6c commit 0e5ace5
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@
import ch.cyberduck.core.SimplePathPredicate;
import ch.cyberduck.core.exception.BackgroundException;
import ch.cyberduck.core.exception.NotfoundException;
import ch.cyberduck.core.features.Home;
import ch.cyberduck.core.features.Lock;
import ch.cyberduck.core.features.Quota;
import ch.cyberduck.core.onedrive.features.GraphLockFeature;
import ch.cyberduck.core.onedrive.features.GraphQuotaFeature;
import ch.cyberduck.core.shared.DefaultPathHomeFeature;
import ch.cyberduck.core.shared.DelegatingHomeFeature;
import ch.cyberduck.core.shared.WorkdirHomeFeature;
import ch.cyberduck.core.ssl.X509KeyManager;
import ch.cyberduck.core.ssl.X509TrustManager;

Expand Down Expand Up @@ -189,9 +185,6 @@ public ContainerItem getContainer(final Path file) {
@Override
@SuppressWarnings("unchecked")
public <T> T _getFeature(final Class<T> type) {
if(type == Home.class) {
return (T) new DelegatingHomeFeature(new WorkdirHomeFeature(host), new DefaultPathHomeFeature(host), new OneDriveHomeFinderService());
}
if(type == Quota.class) {
return (T) new GraphQuotaFeature(this, fileid, new OneDriveHomeFinderService());
}
Expand Down

0 comments on commit 0e5ace5

Please sign in to comment.