Skip to content

Commit f728537

Browse files
committed
[server] Follow-up: Code cleanup
1 parent ebbab24 commit f728537

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";
@@ -99,7 +97,6 @@ export const productionEEContainerModule = new ContainerModule((bind, unbind, is
9997
rebind(HostContainerMapping).to(HostContainerMappingEE).inSingletonScope();
10098
bind(EMailDomainService).to(EMailDomainServiceImpl).inSingletonScope();
10199
rebind(BlockedUserFilter).toService(EMailDomainService);
102-
rebind(UserController).to(UserControllerEE).inSingletonScope();
103100
bind(SnapshotService).toSelf().inSingletonScope();
104101

105102
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
@@ -64,10 +64,6 @@ export class CommunityEntitlementService implements EntitlementService {
6464
return true;
6565
}
6666

67-
async hasFixedWorkspaceResources(user: User, date: Date = new Date()): Promise<boolean> {
68-
return true;
69-
}
70-
7167
async getDefaultWorkspaceTimeout(user: User, date: Date): Promise<WorkspaceTimeoutDuration> {
7268
return WORKSPACE_TIMEOUT_DEFAULT_SHORT;
7369
}

0 commit comments

Comments
 (0)