Skip to content

Commit

Permalink
[server] Follow-up: Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
geropl authored and roboquat committed Aug 5, 2022
1 parent 8bb7372 commit d9defb2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
3 changes: 0 additions & 3 deletions components/server/ee/src/container-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import { GitpodServerImpl } from "../../src/workspace/gitpod-server-impl";
import { GitpodServerEEImpl } from "./workspace/gitpod-server-impl";
import { Server } from "../../src/server";
import { ServerEE } from "./server";
import { UserController } from "../../src/user/user-controller";
import { UserControllerEE } from "./user/user-controller";
import { LicenseKeySource } from "@gitpod/licensor/lib";
import { DBLicenseKeySource } from "./license-source";
import { UserService } from "../../src/user/user-service";
Expand Down Expand Up @@ -100,7 +98,6 @@ export const productionEEContainerModule = new ContainerModule((bind, unbind, is
rebind(HostContainerMapping).to(HostContainerMappingEE).inSingletonScope();
bind(EMailDomainService).to(EMailDomainServiceImpl).inSingletonScope();
rebind(BlockedUserFilter).toService(EMailDomainService);
rebind(UserController).to(UserControllerEE).inSingletonScope();
bind(SnapshotService).toSelf().inSingletonScope();

bind(UserDeletionServiceEE).toSelf().inSingletonScope();
Expand Down
13 changes: 0 additions & 13 deletions components/server/ee/src/user/user-controller.ts

This file was deleted.

4 changes: 0 additions & 4 deletions components/server/src/billing/entitlement-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ export class CommunityEntitlementService implements EntitlementService {
return true;
}

async hasFixedWorkspaceResources(user: User, date: Date = new Date()): Promise<boolean> {
return true;
}

async getDefaultWorkspaceTimeout(user: User, date: Date): Promise<WorkspaceTimeoutDuration> {
return WORKSPACE_TIMEOUT_DEFAULT_SHORT;
}
Expand Down

0 comments on commit d9defb2

Please sign in to comment.