summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-02-12 12:58:27 +0100
committerGitHub <noreply@github.com>2024-02-12 12:58:27 +0100
commit0e6714dab90593c793f49104dd8dcabb5a784d99 (patch)
tree0d4e860e3bfa401c5515e7365745b5c18888e3c0 /core
parentaa0ff0fdd6b172cebe174a9aa00adbdc659a5834 (diff)
parentd91e15244ee05a4bf376b1c2be72bfa1aaafdec0 (diff)
downloadnextcloud-server-0e6714dab90593c793f49104dd8dcabb5a784d99.tar.gz
nextcloud-server-0e6714dab90593c793f49104dd8dcabb5a784d99.zip
Merge pull request #43513 from nextcloud/backport/40067/stable27
[stable27] fix: make cancelOperation public
Diffstat (limited to 'core')
-rw-r--r--core/Command/Base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php
index abf9f95773a..2581e273cb9 100644
--- a/core/Command/Base.php
+++ b/core/Command/Base.php
@@ -161,7 +161,7 @@ class Base extends Command implements CompletionAwareInterface {
*
* Gives a chance to the command to properly terminate what it's doing
*/
- protected function cancelOperation() {
+ public function cancelOperation(): void {
$this->interrupted = true;
}