f7cloud_client/apps/groupfolders/lib/Command/ExpireGroupVersionsPlaceholder.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

28 lines
782 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\GroupFolders\Command;
use OC\Core\Command\Base;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ExpireGroupVersionsPlaceholder extends Base {
protected function configure(): void {
$this
->setName('groupfolders:expire')
->setDescription('Trigger expiry of versions for files stored in Team folders');
parent::configure();
}
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('<error>Team folder version handling is only supported with F7cloud 15 and up</error>');
return 0;
}
}