mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Improve auto expiration hint
Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
This commit is contained in:
parent
a71294ed34
commit
98102bfa78
2 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ class ExpireTrash extends Command {
|
|||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$maxAge = $this->expiration->getMaxAgeAsTimestamp();
|
||||
if (!$maxAge) {
|
||||
$output->writeln("No expiry configured.");
|
||||
$output->writeln("Auto expiration is configured - keeps files and folders in the trash bin for 30 days and automatically deletes anytime after that if space is needed (note: files may not be deleted if space is not needed)");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ class ExpireVersions extends Command {
|
|||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$maxAge = $this->expiration->getMaxAgeAsTimestamp();
|
||||
if (!$maxAge) {
|
||||
$output->writeln("No expiry configured.");
|
||||
$output->writeln("Auto expiration is configured - expiration will be handled automatically according to the expiration patterns detailed at the following link https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/file_versioning.html.");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue