Skip to content

Commit

Permalink
TASK: Remove obsolete todos
Browse files Browse the repository at this point in the history
(There is no acl to bypass yet *g)
  • Loading branch information
mhsdesign committed Oct 1, 2024
1 parent 721b413 commit e64ff93
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Neos.Neos/Classes/Command/WorkspaceCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public function publishCommand(string $workspace, string $contentRepository = 'd
public function discardCommand(string $workspace, string $contentRepository = 'default'): void
{
try {
// @todo: bypass access control
$this->workspacePublishingService->discardAllWorkspaceChanges(
ContentRepositoryId::fromString($contentRepository),
WorkspaceName::fromString($workspace)
Expand All @@ -120,7 +119,6 @@ public function discardCommand(string $workspace, string $contentRepository = 'd
public function rebaseCommand(string $workspace, string $contentRepository = 'default', bool $force = false): void
{
try {
// @todo: bypass access control
$this->workspacePublishingService->rebaseWorkspace(
ContentRepositoryId::fromString($contentRepository),
WorkspaceName::fromString($workspace),
Expand Down Expand Up @@ -307,7 +305,6 @@ public function deleteCommand(string $workspace, bool $force = false, string $co
);
$this->quit(5);
}
// @todo bypass access control?
$this->workspacePublishingService->discardAllWorkspaceChanges($contentRepositoryId, $workspaceName);
}

Expand Down

0 comments on commit e64ff93

Please sign in to comment.