setName('encryption:status')
->setDescription('Lists the current status of encryption')
;
}
protected function execute(InputInterface $input, OutputInterface $output): int {
$this->writeArrayInOutputFormat($input, $output, [
'enabled' => $this->encryptionManager->isEnabled(),
'defaultModule' => $this->encryptionManager->getDefaultEncryptionModuleId(),
]);
return 0;
}
}
-schema
Nextcloud server, a safe home for all your data: https://github.com/nextcloud/server | www-data |
blob: e52c5219308f91f85fd85076b497436fdb136568 (
plain)