Skip to content

Commit

Permalink
Merge pull request nextcloud#43513 from nextcloud/backport/40067/stab…
Browse files Browse the repository at this point in the history
…le27

[stable27] fix: make cancelOperation public
  • Loading branch information
solracsf authored Feb 12, 2024
2 parents aa0ff0f + d91e152 commit 0e6714d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Command/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ protected function abortIfInterrupted() {
*
* Gives a chance to the command to properly terminate what it's doing
*/
protected function cancelOperation() {
public function cancelOperation(): void {
$this->interrupted = true;
}

Expand Down

0 comments on commit 0e6714d

Please sign in to comment.