Skip to content

Commit d9defb2

Browse files
geroplroboquat
authored andcommitted
[server] Follow-up: Code cleanup
1 parent 8bb7372 commit d9defb2

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

components/server/ee/src/container-module.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import { GitpodServerImpl } from "../../src/workspace/gitpod-server-impl";
99
import { GitpodServerEEImpl } from "./workspace/gitpod-server-impl";
1010
import { Server } from "../../src/server";
1111
import { ServerEE } from "./server";
12-
import { UserController } from "../../src/user/user-controller";
13-
import { UserControllerEE } from "./user/user-controller";
1412
import { LicenseKeySource } from "@gitpod/licensor/lib";
1513
import { DBLicenseKeySource } from "./license-source";
1614
import { UserService } from "../../src/user/user-service";
@@ -100,7 +98,6 @@ export const productionEEContainerModule = new ContainerModule((bind, unbind, is
10098
rebind(HostContainerMapping).to(HostContainerMappingEE).inSingletonScope();
10199
bind(EMailDomainService).to(EMailDomainServiceImpl).inSingletonScope();
102100
rebind(BlockedUserFilter).toService(EMailDomainService);
103-
rebind(UserController).to(UserControllerEE).inSingletonScope();
104101
bind(SnapshotService).toSelf().inSingletonScope();
105102

106103
bind(UserDeletionServiceEE).toSelf().inSingletonScope();

components/server/ee/src/user/user-controller.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

components/server/src/billing/entitlement-service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ export class CommunityEntitlementService implements EntitlementService {
6666
return true;
6767
}
6868

69-
async hasFixedWorkspaceResources(user: User, date: Date = new Date()): Promise<boolean> {
70-
return true;
71-
}
72-
7369
async getDefaultWorkspaceTimeout(user: User, date: Date): Promise<WorkspaceTimeoutDuration> {
7470
return WORKSPACE_TIMEOUT_DEFAULT_SHORT;
7571
}

0 commit comments

Comments
 (0)