diff options
| author | 2016-10-24 21:58:22 +0200 | |
|---|---|---|
| committer | 2016-10-24 21:58:22 +0200 | |
| commit | c8e5292ab7a4670ff67e587f18d7973eee2f00e6 (patch) | |
| tree | 7ab94daab91a1315e5a9bd8905994886b4a6f2b9 /cli | |
| parent | 835f3d746cc4fb867b65c8c3593870ce826c42f3 (diff) | |
CLI minor formatting
https://github.com/FreshRSS/FreshRSS/issues/1095
Diffstat (limited to 'cli')
| -rwxr-xr-x | cli/create-user.php | 3 | ||||
| -rwxr-xr-x | cli/export-zip-for-user.php | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cli/create-user.php b/cli/create-user.php index c790acb59..008b82ce3 100755 --- a/cli/create-user.php +++ b/cli/create-user.php @@ -35,8 +35,7 @@ $ok = FreshRSS_user_Controller::createUser($username, 'language' => empty($options['language']) ? '' : $options['language'], 'token' => empty($options['token']) ? '' : $options['token'], ), - !isset($options['no-default-feeds']) - ); + !isset($options['no-default-feeds'])); if (!$ok) { fail('FreshRSS could not create user!'); diff --git a/cli/export-zip-for-user.php b/cli/export-zip-for-user.php index 9183a1c14..92fe9bf9a 100755 --- a/cli/export-zip-for-user.php +++ b/cli/export-zip-for-user.php @@ -20,8 +20,8 @@ $importController = new FreshRSS_importExport_Controller(); $ok = false; try { $ok = $importController->exportFile(true, true, true, - empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']), - $username); + empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']), + $username); } catch (FreshRSS_ZipMissing_Exception $zme) { fail('FreshRSS error: Lacking php-zip extension!'); } |
