aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-11-07 12:43:01 -0100
committerMaxence Lange <maxence@artificial-owl.com>2023-11-07 12:43:08 -0100
commitf497d8b6e5a42635ec181dfeda404862ee4c8e3d (patch)
treee6cd926b6f7ab4d9762f0312ad8962c78aaf1309 /core/Command
parente62e9e3dbf1a2573554b1a9eabbf5b59b652dae6 (diff)
downloadnextcloud-server-f497d8b6e5a42635ec181dfeda404862ee4c8e3d.tar.gz
nextcloud-server-f497d8b6e5a42635ec181dfeda404862ee4c8e3d.zip
IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/FilesMetadata/Get.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/FilesMetadata/Get.php b/core/Command/FilesMetadata/Get.php
index aebabe63e35..99bc167f71d 100644
--- a/core/Command/FilesMetadata/Get.php
+++ b/core/Command/FilesMetadata/Get.php
@@ -91,7 +91,7 @@ class Get extends Command {
if ($input->getOption('reset')) {
$this->filesMetadataManager->deleteMetadata($fileId);
if (!$input->getOption('refresh')) {
- return 0;
+ return self::SUCCESS;
}
}
@@ -114,6 +114,6 @@ class Get extends Command {
$output->writeln(json_encode($metadata, JSON_PRETTY_PRINT));
}
- return 0;
+ return self::SUCCESS;
}
}