diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-17 09:25:19 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-17 09:25:19 +0200 |
commit | 0a36331cb614770b5d004ca193126fce650bcd55 (patch) | |
tree | 5db94c82f5fdb160f0789c6d2bba77df91ec332c /core/command/encryption | |
parent | 01dc3935d03cb08703b47bfeef50dcbb7f5458e7 (diff) | |
download | nextcloud-server-0a36331cb614770b5d004ca193126fce650bcd55.tar.gz nextcloud-server-0a36331cb614770b5d004ca193126fce650bcd55.zip |
Use constants for the output formats
Diffstat (limited to 'core/command/encryption')
-rw-r--r-- | core/command/encryption/listmodules.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command/encryption/listmodules.php b/core/command/encryption/listmodules.php index d55480def87..cc436ea5629 100644 --- a/core/command/encryption/listmodules.php +++ b/core/command/encryption/listmodules.php @@ -65,7 +65,7 @@ class ListModules extends Base { * @param array $items */ protected function writeModuleList(InputInterface $input, OutputInterface $output, $items) { - if ($input->getOption('output') === 'plain') { + if ($input->getOption('output') === self::OUTPUT_FORMAT_PLAIN) { array_walk($items, function(&$item) { if (!$item['default']) { $item = $item['displayName']; |