summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2023-08-27 17:29:26 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-02-10 16:18:10 +0000
commitd91e15244ee05a4bf376b1c2be72bfa1aaafdec0 (patch)
tree24d26143452a3ddc2bda658f3a9b77ba0c7e09ad /core
parent7e1fc484fc6ba4f78e6e8204799dc40c2e61e3f7 (diff)
downloadnextcloud-server-d91e15244ee05a4bf376b1c2be72bfa1aaafdec0.tar.gz
nextcloud-server-d91e15244ee05a4bf376b1c2be72bfa1aaafdec0.zip
fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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;
}