Skip to content

Commit

Permalink
[doctrineGH-7486] Bugfix: failing the command when clearing empty cac…
Browse files Browse the repository at this point in the history
…he is wrong semantics. (doctrine#8376)
  • Loading branch information
beberlei committed Dec 6, 2020
1 parent e7d33eb commit 21d2c88
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$message = ($result) ? 'Successfully flushed cache entries.' : $message;
}

if ( ! $result) {
$ui->error($message);

return 1;
}

$ui->success($message);

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$message = ($result) ? 'Successfully flushed cache entries.' : $message;
}

if ( ! $result) {
$ui->error($message);

return 1;
}

$ui->success($message);

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$message = ($result) ? 'Successfully flushed cache entries.' : $message;
}

if ( ! $result) {
$ui->error($message);

return 1;
}

$ui->success($message);

return 0;
Expand Down

0 comments on commit 21d2c88

Please sign in to comment.