aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Command
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Command')
-rw-r--r--apps/files_sharing/lib/Command/CleanupRemoteStorages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
index 259e55ff620..db18e7d2499 100644
--- a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
+++ b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
@@ -106,7 +106,7 @@ class CleanupRemoteStorages extends Command {
IQueryBuilder::PARAM_STR)
);
$result = $queryBuilder->execute();
- $count = $result->fetchColumn();
+ $count = $result->fetchOne();
$output->writeln("$count files can be deleted for storage $numericId");
}