28 lines
782 B
PHP
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;
|
|
}
|
|
}
|